#20334C

Closest named color: Prussian Blue (#1D3557). oklch(31.7% 0.051 255.7), rgb(32, 51, 76).

Aa

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

About this color

#20334C is a dark, muted blue. In OKLCH its lightness is 32%, its chroma 0.051 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.019 away. White text reads best on it, at 12.81:1.

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.051)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.63:1
White text12.81:1

Values

HEX#20334C
RGBrgb(32, 51, 76)
HSLhsl(214, 41%, 21%)
OKLCHoklch(31.7% 0.051 255.7)

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 #20334C 12.81:1 AAA Lc -102.2 Preferred for body text
Black text on #20334C 1.63:1 Fails Lc 0.0 Not readable
#20334C text on white 12.81:1 AAA Lc 98.9 Preferred for body text
#20334C text on black 1.63: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF6

    oklch(93.7% 0.018 253.3)

  3. Step 200

    200

    #CBDBF0

    oklch(88.6% 0.034 255.2)

  4. Step 300

    300

    #A7C3E8

    oklch(80.9% 0.061 255.5)

  5. Step 400

    400

    #77A3DD

    oklch(70.7% 0.098 255.6)

  6. Step 500

    500

    #548BD3

    oklch(63.1% 0.124 255.8)

  7. Step 600

    600

    #3774C1

    oklch(55.7% 0.136 255.6)

  8. Step 700

    700

    #2961A6

    oklch(49.2% 0.125 255.3)

  9. Step 800

    800

    #244F87

    oklch(42.7% 0.105 256.1)

  10. Step 900

    900

    #22426C

    oklch(37.7% 0.082 256)

  11. Step 950

    950 (this color)

    #20334C

    oklch(31.7% 0.051 255.7)

Export this scale for Tailwind in the Tailwind colors tool

#20334C 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)#29344D0.014
Deuteranopia (no green cones)#24304B0.010
Tritanopia (no blue cones)#09393C0.046
Achromatopsia (no color)#3232320.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #20334C

    #20334C

    oklch(31.7% 0.051 255.7)

  • #412E11

    #412E11

    oklch(31.7% 0.051 75.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #20334C

    #20334C

    oklch(31.7% 0.051 255.7)

  • #0E3746

    #0E3746

    oklch(31.6% 0.052 226.5)

  • #302E4B

    #302E4B

    oklch(31.7% 0.051 286.2)

Open the analogous palette in the generator

Split complementary

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

  • #20334C

    #20334C

    oklch(31.7% 0.051 255.7)

  • #48291B

    #48291B

    oklch(31.7% 0.052 44.7)

  • #363412

    #363412

    oklch(31.9% 0.052 105.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #20334C

    #20334C

    oklch(31.7% 0.051 255.7)

  • #492729

    #492729

    oklch(31.8% 0.051 16.6)

  • #26381D

    #26381D

    oklch(31.7% 0.051 135.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #20334C

    #20334C

    oklch(31.7% 0.051 255.7)

  • #452738

    #452738

    oklch(31.7% 0.052 345.4)

  • #412E11

    #412E11

    oklch(31.7% 0.051 75.5)

  • #143A2C

    #143A2C

    oklch(31.6% 0.05 166.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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