#222F62

Closest named color: Marine (#042E60). oklch(32.4% 0.091 269.9), rgb(34, 47, 98).

Aa

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

About this color

#222F62 is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.091 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.030 away. White text reads best on it, at 12.71:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.65:1
White text12.71:1

Values

HEX#222F62
RGBrgb(34, 47, 98)
HSLhsl(228, 48%, 26%)
OKLCHoklch(32.4% 0.091 269.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 #222F62 12.71:1 AAA Lc -101.9 Preferred for body text
Black text on #222F62 1.65:1 Fails Lc 0.0 Not readable
#222F62 text on white 12.71:1 AAA Lc 98.6 Preferred for body text
#222F62 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 900.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CFD9F3

    oklch(88.6% 0.037 268.9)

  4. Step 300

    300

    #AFBFEE

    oklch(80.9% 0.069 270.1)

  5. Step 400

    400

    #869DE5

    oklch(70.7% 0.109 269.9)

  6. Step 500

    500

    #6983DE

    oklch(63.2% 0.14 270)

  7. Step 600

    600

    #516ACC

    oklch(55.5% 0.154 270)

  8. Step 700

    700

    #4258B0

    oklch(49% 0.142 269.9)

  9. Step 800

    800

    #36498F

    oklch(42.8% 0.118 269.5)

  10. Step 900

    900 (this color)

    #222F62

    oklch(32.4% 0.091 269.9)

  11. Step 950

    950

    #1B2443

    oklch(26.9% 0.059 269.9)

Export this scale for Tailwind in the Tailwind colors tool

#222F62 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)#1536640.023
Deuteranopia (no green cones)#0830610.025
Tritanopia (no blue cones)#003B430.080
Achromatopsia (no color)#3333330.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #222F62

    #222F62

    oklch(32.4% 0.091 269.9)

  • #413200

    #413200

    oklch(32.5% 0.066 90.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #222F62

    #222F62

    oklch(32.4% 0.091 269.9)

  • #003855

    #003855

    oklch(32.4% 0.073 239.2)

  • #3C265B

    #3C265B

    oklch(32.4% 0.092 300.5)

Open the analogous palette in the generator

Split complementary

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

  • #222F62

    #222F62

    oklch(32.4% 0.091 269.9)

  • #4F2900

    #4F2900

    oklch(32.4% 0.076 60.7)

  • #2F3900

    #2F3900

    oklch(32.4% 0.077 120)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #222F62

    #222F62

    oklch(32.4% 0.091 269.9)

  • #5A1D15

    #5A1D15

    oklch(32.5% 0.092 30.2)

  • #004019

    #004019

    oklch(32.5% 0.089 150)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #222F62

    #222F62

    oklch(32.4% 0.091 269.9)

  • #571B32

    #571B32

    oklch(32.4% 0.092 359.9)

  • #413200

    #413200

    oklch(32.5% 0.066 90.4)

  • #003D35

    #003D35

    oklch(32.3% 0.058 180.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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