#222D58

Closest named color: Prussian Blue (#1D3557). oklch(31.2% 0.078 270.5), rgb(34, 45, 88).

Aa

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

About this color

#222D58 is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.078 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.025 away. White text reads best on it, at 13.25:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.58:1
White text13.25:1

Values

HEX#222D58
RGBrgb(34, 45, 88)
HSLhsl(228, 44%, 24%)
OKLCHoklch(31.2% 0.078 270.5)

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 #222D58 13.25:1 AAA Lc -102.7 Preferred for body text
Black text on #222D58 1.58:1 Fails Lc 0.0 Not readable
#222D58 text on white 13.25:1 AAA Lc 99.5 Preferred for body text
#222D58 text on black 1.58: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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FD

    oklch(93.5% 0.028 272.5)

  3. Step 200

    200

    #CCD8FC

    oklch(88.5% 0.051 270.8)

  4. Step 300

    300

    #AABEFD

    oklch(80.9% 0.092 270.6)

  5. Step 400

    400

    #7E99FD

    oklch(70.6% 0.149 270.8)

  6. Step 500

    500

    #607CFA

    oklch(63% 0.19 270.7)

  7. Step 600

    600

    #4961E9

    oklch(55.5% 0.206 270.5)

  8. Step 700

    700

    #3B4FCB

    oklch(49% 0.192 270.5)

  9. Step 800

    800

    #3142A4

    oklch(42.7% 0.158 270.7)

  10. Step 900

    900

    #2A3982

    oklch(37.6% 0.124 270.6)

  11. Step 950

    950 (this color)

    #222D58

    oklch(31.2% 0.078 270.5)

Export this scale for Tailwind in the Tailwind colors tool

#222D58 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)#1A325A0.017
Deuteranopia (no green cones)#122D570.019
Tritanopia (no blue cones)#02373E0.071
Achromatopsia (no color)#3030300.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #222D58

    #222D58

    oklch(31.2% 0.078 270.5)

  • #3D2F00

    #3D2F00

    oklch(31.2% 0.064 90.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #222D58

    #222D58

    oklch(31.2% 0.078 270.5)

  • #003451

    #003451

    oklch(31% 0.072 240.7)

  • #372652

    #372652

    oklch(31.2% 0.078 299.7)

Open the analogous palette in the generator

Split complementary

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

  • #222D58

    #222D58

    oklch(31.2% 0.078 270.5)

  • #4B2600

    #4B2600

    oklch(31.2% 0.073 59.8)

  • #2C3600

    #2C3600

    oklch(31.2% 0.074 120.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #222D58

    #222D58

    oklch(31.2% 0.078 270.5)

  • #511E17

    #511E17

    oklch(31% 0.078 30)

  • #073B1A

    #073B1A

    oklch(31.1% 0.078 150.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #222D58

    #222D58

    oklch(31.2% 0.078 270.5)

  • #4F1D2F

    #4F1D2F

    oklch(31.2% 0.078 0.1)

  • #3D2F00

    #3D2F00

    oklch(31.2% 0.064 90.8)

  • #003A32

    #003A32

    oklch(31.2% 0.057 180.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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