#20315C

Closest named color: Prussian Blue (#1D3557). oklch(32.3% 0.08 265.9), rgb(32, 49, 92).

Aa

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

About this color

#20315C is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.080 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.017 away. White text reads best on it, at 12.68:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.65:1
White text12.68:1

Values

HEX#20315C
RGBrgb(32, 49, 92)
HSLhsl(223, 48%, 24%)
OKLCHoklch(32.3% 0.08 265.9)

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 #20315C 12.68:1 AAA Lc -101.9 Preferred for body text
Black text on #20315C 1.65:1 Fails Lc 0.0 Not readable
#20315C text on white 12.68:1 AAA Lc 98.6 Preferred for body text
#20315C text on black 1.65: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

    #F1F5FE

    oklch(97% 0.013 266.7)

  2. Step 100

    100

    #E1EAFD

    oklch(93.6% 0.028 265.4)

  3. Step 200

    200

    #C9D9FD

    oklch(88.5% 0.053 266.4)

  4. Step 300

    300

    #A4C0FE

    oklch(81% 0.093 265.6)

  5. Step 400

    400

    #749CFE

    oklch(70.7% 0.15 265.9)

  6. Step 500

    500

    #517FFD

    oklch(63% 0.194 265.9)

  7. Step 600

    600

    #3865EC

    oklch(55.7% 0.21 265.8)

  8. Step 700

    700

    #2B52CD

    oklch(49% 0.195 265.8)

  9. Step 800

    800

    #2444A6

    oklch(42.6% 0.162 265.9)

  10. Step 900

    900

    #213B83

    oklch(37.7% 0.125 265.7)

  11. Step 950

    950 (this color)

    #20315C

    oklch(32.3% 0.08 265.9)

Export this scale for Tailwind in the Tailwind colors tool

#20315C 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)#1D365E0.015
Deuteranopia (no green cones)#15305B0.014
Tritanopia (no blue cones)#003B420.069
Achromatopsia (no color)#3333330.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #20315C

    #20315C

    oklch(32.3% 0.08 265.9)

  • #433000

    #433000

    oklch(32.2% 0.066 84.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20315C

    #20315C

    oklch(32.3% 0.08 265.9)

  • #003852

    #003852

    oklch(32.2% 0.07 236.3)

  • #382957

    #382957

    oklch(32.2% 0.08 296.7)

Open the analogous palette in the generator

Split complementary

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

  • #20315C

    #20315C

    oklch(32.3% 0.08 265.9)

  • #512700

    #512700

    oklch(32.4% 0.079 56.5)

  • #323800

    #323800

    oklch(32.4% 0.074 116.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20315C

    #20315C

    oklch(32.3% 0.08 265.9)

  • #55201D

    #55201D

    oklch(32.2% 0.08 25.8)

  • #123E18

    #123E18

    oklch(32.3% 0.08 145.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20315C

    #20315C

    oklch(32.3% 0.08 265.9)

  • #521F35

    #521F35

    oklch(32.2% 0.081 355.6)

  • #433000

    #433000

    oklch(32.2% 0.066 84.5)

  • #003D32

    #003D32

    oklch(32.2% 0.06 176)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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