#20194C

Closest named color: Dark Indigo (#1F0954). oklch(25.6% 0.09 284.3), rgb(32, 25, 76).

Aa

White text reads best on this color (16.09:1).

About this color

#20194C is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.090 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.036 away. White text reads best on it, at 16.09:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameDark Indigo (#1F0954)
Black text1.30:1
White text16.09:1

Values

HEX#20194C
RGBrgb(32, 25, 76)
HSLhsl(248, 50%, 20%)
OKLCHoklch(25.6% 0.09 284.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #20194C 16.09:1 AAA Lc -105.4 Preferred for body text
Black text on #20194C 1.30:1 Fails Lc 0.0 Not readable
#20194C text on white 16.09:1 AAA Lc 102.8 Preferred for body text
#20194C text on black 1.30:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E8FF

    oklch(93.7% 0.031 283.8)

  3. Step 200

    200

    #D4D5FF

    oklch(88.6% 0.058 284.1)

  4. Step 300

    300

    #B9B8FF

    oklch(80.9% 0.1 284.6)

  5. Step 400

    400

    #9790FF

    oklch(70.8% 0.159 284.4)

  6. Step 500

    500

    #806EFF

    oklch(63% 0.207 284.4)

  7. Step 600

    600

    #6C4CF5

    oklch(55.5% 0.238 284.2)

  8. Step 700

    700

    #5B3BD6

    oklch(49.1% 0.222 284.2)

  9. Step 800

    800

    #4A33AD

    oklch(42.8% 0.183 284.2)

  10. Step 900

    900

    #3D2F89

    oklch(37.8% 0.143 284.3)

  11. Step 950

    950 (this color)

    #20194C

    oklch(25.6% 0.09 284.3)

Export this scale for Tailwind in the Tailwind colors tool

#20194C with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#00234E0.044
Deuteranopia (no green cones)#001F4B0.042
Tritanopia (no blue cones)#0E252F0.077
Achromatopsia (no color)#2121210.091

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #20194C

    #20194C

    oklch(25.6% 0.09 284.3)

  • #272400

    #272400

    oklch(25.5% 0.054 104.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20194C

    #20194C

    oklch(25.6% 0.09 284.3)

  • #002249

    #002249

    oklch(25.5% 0.083 254.5)

  • #321141

    #321141

    oklch(25.6% 0.091 313.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #20194C

    #20194C

    oklch(25.6% 0.09 284.3)

  • #321E00

    #321E00

    oklch(25.5% 0.054 73.8)

  • #122A00

    #122A00

    oklch(25.5% 0.074 134.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20194C

    #20194C

    oklch(25.6% 0.09 284.3)

  • #3F1400

    #3F1400

    oklch(25.7% 0.074 44.4)

  • #002B1C

    #002B1C

    oklch(25.6% 0.054 164.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20194C

    #20194C

    oklch(25.6% 0.09 284.3)

  • #450715

    #450715

    oklch(25.7% 0.091 14.4)

  • #272400

    #272400

    oklch(25.5% 0.054 104.9)

  • #002929

    #002929

    oklch(25.4% 0.043 194.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #20194C, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #20194C in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.