#20387C

Closest named color: Twilight Blue (#0A437A). oklch(36.4% 0.119 266), rgb(32, 56, 124).

Aa

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

About this color

#20387C is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.119 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.033 away. White text reads best on it, at 10.94:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.119)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.91:1
White text10.94:1

Values

HEX#20387C
RGBrgb(32, 56, 124)
HSLhsl(224, 59%, 31%)
OKLCHoklch(36.4% 0.119 266)

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 #20387C 10.94:1 AAA Lc -98.9 Preferred for body text
Black text on #20387C 1.91:1 Fails Lc 8.9 Not readable
#20387C text on white 10.94:1 AAA Lc 95.0 Preferred for body text
#20387C text on black 1.91:1 Fails Lc -7.7 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 900.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CAD9FB

    oklch(88.5% 0.05 266.5)

  4. Step 300

    300

    #A5C0FB

    oklch(80.9% 0.089 265.4)

  5. Step 400

    400

    #769DFA

    oklch(70.8% 0.143 265.7)

  6. Step 500

    500

    #5581F7

    oklch(63.2% 0.183 266)

  7. Step 600

    600

    #3C66E6

    oklch(55.6% 0.2 266.2)

  8. Step 700

    700

    #2E54C8

    oklch(49.1% 0.186 265.9)

  9. Step 800

    800

    #2746A1

    oklch(42.8% 0.152 265.9)

  10. Step 900

    900 (this color)

    #20387C

    oklch(36.4% 0.119 266)

  11. Step 950

    950

    #15244B

    oklch(27.1% 0.075 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#20387C 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)#08417E0.027
Deuteranopia (no green cones)#00387B0.023
Tritanopia (no blue cones)#0048540.095
Achromatopsia (no color)#3C3C3C0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #20387C

    #20387C

    oklch(36.4% 0.119 266)

  • #4F3B00

    #4F3B00

    oklch(36.4% 0.075 87.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20387C

    #20387C

    oklch(36.4% 0.119 266)

  • #004461

    #004461

    oklch(36.5% 0.077 235)

  • #452C75

    #452C75

    oklch(36.4% 0.12 295.6)

Open the analogous palette in the generator

Split complementary

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

  • #20387C

    #20387C

    oklch(36.4% 0.119 266)

  • #602F00

    #602F00

    oklch(36.3% 0.089 56.1)

  • #3C4300

    #3C4300

    oklch(36.4% 0.083 116.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20387C

    #20387C

    oklch(36.4% 0.119 266)

  • #701A19

    #701A19

    oklch(36.3% 0.12 26)

  • #004C13

    #004C13

    oklch(36.2% 0.111 145.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20387C

    #20387C

    oklch(36.4% 0.119 266)

  • #6B1A40

    #6B1A40

    oklch(36.4% 0.119 356.2)

  • #4F3B00

    #4F3B00

    oklch(36.4% 0.075 87.1)

  • #004A3D

    #004A3D

    oklch(36.5% 0.068 175.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #20387C 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.