#222F52

Closest named color: Prussian Blue (#1D3557). oklch(31.2% 0.065 267.2), rgb(34, 47, 82).

Aa

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

About this color

#222F52 is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.065 and its hue 267°. 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 13.15:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.065)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.59:1
White text13.15:1

Values

HEX#222F52
RGBrgb(34, 47, 82)
HSLhsl(224, 41%, 23%)
OKLCHoklch(31.2% 0.065 267.2)

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 #222F52 13.15:1 AAA Lc -102.6 Preferred for body text
Black text on #222F52 1.59:1 Fails Lc 0.0 Not readable
#222F52 text on white 13.15:1 AAA Lc 99.4 Preferred for body text
#222F52 text on black 1.59: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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CCD9F7

    oklch(88.5% 0.044 266.9)

  4. Step 300

    300

    #AAC0F4

    oklch(80.9% 0.078 266.8)

  5. Step 400

    400

    #7E9DEE

    oklch(70.6% 0.124 267.3)

  6. Step 500

    500

    #5F83E9

    oklch(63.2% 0.158 267.2)

  7. Step 600

    600

    #466AD7

    oklch(55.7% 0.172 266.9)

  8. Step 700

    700

    #3857BA

    oklch(49% 0.16 267.2)

  9. Step 800

    800

    #2F4897

    oklch(42.8% 0.133 267.3)

  10. Step 900

    900

    #293D78

    oklch(37.7% 0.104 267.2)

  11. Step 950

    950 (this color)

    #222F52

    oklch(31.2% 0.065 267.2)

Export this scale for Tailwind in the Tailwind colors tool

#222F52 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)#2133530.012
Deuteranopia (no green cones)#1B2E510.010
Tritanopia (no blue cones)#09373C0.060
Achromatopsia (no color)#3030300.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #222F52

    #222F52

    oklch(31.2% 0.065 267.2)

  • #3F2E00

    #3F2E00

    oklch(31.2% 0.064 86.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #222F52

    #222F52

    oklch(31.2% 0.065 267.2)

  • #04354E

    #04354E

    oklch(31.2% 0.066 237.7)

  • #35294E

    #35294E

    oklch(31.3% 0.066 297.4)

Open the analogous palette in the generator

Split complementary

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

  • #222F52

    #222F52

    oklch(31.2% 0.065 267.2)

  • #49270A

    #49270A

    oklch(31.2% 0.065 56.9)

  • #2F3507

    #2F3507

    oklch(31.3% 0.065 116.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #222F52

    #222F52

    oklch(31.2% 0.065 267.2)

  • #4D221E

    #4D221E

    oklch(31.2% 0.066 27)

  • #173A1C

    #173A1C

    oklch(31.3% 0.066 146.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #222F52

    #222F52

    oklch(31.2% 0.065 267.2)

  • #4A2131

    #4A2131

    oklch(31.1% 0.066 356.9)

  • #3F2E00

    #3F2E00

    oklch(31.2% 0.064 86.4)

  • #003A30

    #003A30

    oklch(31.2% 0.058 176.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #222F52 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.