#222E7D

Closest named color: Marine Blue (#01386A). oklch(34.5% 0.134 271), rgb(34, 46, 125).

Aa

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

About this color

#222E7D is a dark, moderately saturated blue. In OKLCH its lightness is 34%, its chroma 0.134 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.050 away. White text reads best on it, at 11.96:1.

Hue familyBlues
Lightnessdark (34%)
Chromamoderately saturated (0.134)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.75:1
White text11.96:1

Values

HEX#222E7D
RGBrgb(34, 46, 125)
HSLhsl(232, 57%, 31%)
OKLCHoklch(34.5% 0.134 271)

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 #222E7D 11.96:1 AAA Lc -100.5 Preferred for body text
Black text on #222E7D 1.75:1 Fails Lc 0.0 Not readable
#222E7D text on white 11.96:1 AAA Lc 96.9 Preferred for body text
#222E7D text on black 1.75: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 900.

  1. Step 50

    50

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E2E9FE

    oklch(93.5% 0.029 271.1)

  3. Step 200

    200

    #CBD8FF

    oklch(88.5% 0.056 270.7)

  4. Step 300

    300

    #AABEFF

    oklch(81% 0.095 271)

  5. Step 400

    400

    #7E99FF

    oklch(70.7% 0.152 270.9)

  6. Step 500

    500

    #607BFF

    oklch(63.2% 0.197 271)

  7. Step 600

    600

    #485DF3

    oklch(55.5% 0.224 270.9)

  8. Step 700

    700

    #3B4BD3

    oklch(49% 0.207 271.1)

  9. Step 800

    800

    #303FAB

    oklch(42.7% 0.172 271)

  10. Step 900

    900 (this color)

    #222E7D

    oklch(34.5% 0.134 271)

  11. Step 950

    950

    #18214F

    oklch(26.9% 0.085 271.3)

Export this scale for Tailwind in the Tailwind colors tool

#222E7D 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)#003B800.038
Deuteranopia (no green cones)#00337B0.028
Tritanopia (no blue cones)#0042510.107
Achromatopsia (no color)#3737370.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #222E7D

    #222E7D

    oklch(34.5% 0.134 271)

  • #473700

    #473700

    oklch(34.5% 0.07 90.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #222E7D

    #222E7D

    oklch(34.5% 0.134 271)

  • #003D5F

    #003D5F

    oklch(34.5% 0.081 241.6)

  • #462072

    #462072

    oklch(34.4% 0.134 300.7)

Open the analogous palette in the generator

Split complementary

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

  • #222E7D

    #222E7D

    oklch(34.5% 0.134 271)

  • #562D00

    #562D00

    oklch(34.4% 0.08 60.5)

  • #333F00

    #333F00

    oklch(34.4% 0.083 121)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #222E7D

    #222E7D

    oklch(34.5% 0.134 271)

  • #6E0A01

    #6E0A01

    oklch(34.4% 0.133 30.9)

  • #00461E

    #00461E

    oklch(34.5% 0.093 151)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #222E7D

    #222E7D

    oklch(34.5% 0.134 271)

  • #6B0635

    #6B0635

    oklch(34.5% 0.134 1.1)

  • #473700

    #473700

    oklch(34.5% 0.07 90.6)

  • #00433B

    #00433B

    oklch(34.3% 0.062 181.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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