HexeesDigital color, made useful.

Back to catalog
Calculated sRGB color#270045

Local color workspace

Work with #270045

Inspect equivalent formats, text contrast, palette steps, hue relationships, and copy-ready CSS for any opaque color entered as HEX, RGB, HSL, HWB, OKLCH, or a CSS keyword.

Use HEX, RGB, HSL, HWB, OKLCH, or a CSS color keyword. Alpha must be fully opaque.

01

Tune OKLCH, then keep its sRGB fallback honest.

Adjust perceptual lightness, chroma, and hue. The instrument keeps the authored OKLCH value separate from the six-digit fallback used by the rest of this workspace.

Fits sRGB No gamut mapping is needed for this value.

02

Equivalent color formats

These CSS notations, including perceptual OKLCH, are calculated from the same normalized six-digit sRGB value.

03

Black and white text contrast

Compare WCAG relative-luminance ratios before choosing text. A passing ratio still needs to be checked in the complete interface.

Recommended foreground: #FFFFFF · 17.92:1

White text17.92:1
AA normal text
Pass
AA large text
Pass
AAA normal text
Pass
AAA large text
Pass
Black text1.17:1
AA normal text
Fail
AA large text
Fail
AAA normal text
Fail
AAA large text
Fail
Continue in the contrast labCheck #270045 against another colorOpen the full WCAG pair checker with this color and its strongest black-or-white foreground already filled in.

04

Calculated tints and shades

Use these reproducible sRGB mixtures as starting points, then verify them in the context of your interface.

Tints

Shades

05

Hue-wheel starting points

These variants rotate HSL hue while preserving saturation and lightness. They are mathematical options, not automatic design recommendations.

06

Copy-ready CSS

Start with custom properties for the normalized color and the stronger black-or-white foreground.

--color-hex-270045: #270045;
--color-hex-270045-rgb: 39 0 69;
--color-hex-270045-hsl: 274 100% 14%;
--color-hex-270045-oklch: oklch(22.1% 0.1157 303.38);
color: #FFFFFF;
background-color: var(--color-hex-270045);