#222C40

Closest named color: Space Cadet (#2B2D42). oklch(29.3% 0.039 263.7), rgb(34, 44, 64).

Aa

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

About this color

#222C40 is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.039 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.016 away. White text reads best on it, at 13.97:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.039)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.50:1
White text13.97:1

Values

HEX#222C40
RGBrgb(34, 44, 64)
HSLhsl(220, 31%, 19%)
OKLCHoklch(29.3% 0.039 263.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 #222C40 13.97:1 AAA Lc -103.6 Preferred for body text
Black text on #222C40 1.50:1 Fails Lc 0.0 Not readable
#222C40 text on white 13.97:1 AAA Lc 100.6 Preferred for body text
#222C40 text on black 1.50: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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D0D9EB

    oklch(88.4% 0.027 264.4)

  4. Step 300

    300

    #B1C1E0

    oklch(80.9% 0.047 263.7)

  5. Step 400

    400

    #89A1D0

    oklch(70.8% 0.074 263.5)

  6. Step 500

    500

    #6C89C3

    oklch(63.2% 0.094 263.6)

  7. Step 600

    600

    #5472B0

    oklch(55.7% 0.103 263.8)

  8. Step 700

    700

    #445F97

    oklch(49.1% 0.096 263.7)

  9. Step 800

    800

    #384E7B

    oklch(42.8% 0.08 263.6)

  10. Step 900

    900

    #304163

    oklch(37.7% 0.063 263.4)

  11. Step 950

    950 (this color)

    #222C40

    oklch(29.3% 0.039 263.7)

Export this scale for Tailwind in the Tailwind colors tool

#222C40 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)#252D410.006
Deuteranopia (no green cones)#222B400.003
Tritanopia (no blue cones)#1830330.035
Achromatopsia (no color)#2C2C2C0.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #222C40

    #222C40

    oklch(29.3% 0.039 263.7)

  • #362A14

    #362A14

    oklch(29.3% 0.039 81.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #222C40

    #222C40

    oklch(29.3% 0.039 263.7)

  • #172F3D

    #172F3D

    oklch(29.2% 0.039 235.9)

  • #2D283E

    #2D283E

    oklch(29.2% 0.04 294.2)

Open the analogous palette in the generator

Split complementary

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

  • #222C40

    #222C40

    oklch(29.3% 0.039 263.7)

  • #3C2719

    #3C2719

    oklch(29.5% 0.04 54.3)

  • #2C2E17

    #2C2E17

    oklch(29.3% 0.038 112.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #222C40

    #222C40

    oklch(29.3% 0.039 263.7)

  • #3E2423

    #3E2423

    oklch(29.3% 0.04 22.2)

  • #20311F

    #20311F

    oklch(29.2% 0.039 143.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #222C40

    #222C40

    oklch(29.3% 0.039 263.7)

  • #3C242E

    #3C242E

    oklch(29.4% 0.04 353.2)

  • #362A14

    #362A14

    oklch(29.3% 0.039 81.4)

  • #14332B

    #14332B

    oklch(29.5% 0.04 174.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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