#222F40

Closest named color: Gunmetal (#293241). oklch(30.1% 0.036 255.4), rgb(34, 47, 64).

Aa

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

About this color

#222F40 is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.036 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.016 away. White text reads best on it, at 13.56:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.036)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.54:1
White text13.56:1

Values

HEX#222F40
RGBrgb(34, 47, 64)
HSLhsl(214, 31%, 19%)
OKLCHoklch(30.1% 0.036 255.4)

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 #222F40 13.56:1 AAA Lc -103.2 Preferred for body text
Black text on #222F40 1.54:1 Fails Lc 0.0 Not readable
#222F40 text on white 13.56:1 AAA Lc 100.0 Preferred for body text
#222F40 text on black 1.54: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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #CFDAE9

    oklch(88.5% 0.024 256.1)

  4. Step 300

    300

    #AFC2DC

    oklch(80.8% 0.042 256.3)

  5. Step 400

    400

    #85A3CB

    oklch(70.7% 0.068 255.7)

  6. Step 500

    500

    #668CBD

    oklch(63.2% 0.086 255.1)

  7. Step 600

    600

    #4D75AA

    oklch(55.6% 0.094 255.8)

  8. Step 700

    700

    #3D6291

    oklch(49% 0.087 255)

  9. Step 800

    800

    #335076

    oklch(42.6% 0.073 255.6)

  10. Step 900

    900

    #2D435F

    oklch(37.8% 0.056 254.9)

  11. Step 950

    950 (this color)

    #222F40

    oklch(30.1% 0.036 255.4)

Export this scale for Tailwind in the Tailwind colors tool

#222F40 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)#2930410.012
Deuteranopia (no green cones)#252D400.008
Tritanopia (no blue cones)#1733350.032
Achromatopsia (no color)#2E2E2E0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #222F40

    #222F40

    oklch(30.1% 0.036 255.4)

  • #392C19

    #392C19

    oklch(30.3% 0.036 76.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #222F40

    #222F40

    oklch(30.1% 0.036 255.4)

  • #19323C

    #19323C

    oklch(30.2% 0.036 225.9)

  • #2C2C40

    #2C2C40

    oklch(30.2% 0.036 284)

Open the analogous palette in the generator

Split complementary

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

  • #222F40

    #222F40

    oklch(30.1% 0.036 255.4)

  • #3D281F

    #3D281F

    oklch(30% 0.036 44.1)

  • #312F1A

    #312F1A

    oklch(30.1% 0.035 103.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #222F40

    #222F40

    oklch(30.1% 0.036 255.4)

  • #3E2728

    #3E2728

    oklch(30.2% 0.035 16.5)

  • #263220

    #263220

    oklch(30% 0.035 135.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #222F40

    #222F40

    oklch(30.1% 0.036 255.4)

  • #3B2732

    #3B2732

    oklch(30.1% 0.035 345.3)

  • #392C19

    #392C19

    oklch(30.3% 0.036 76.2)

  • #1C342A

    #1C342A

    oklch(30.2% 0.035 165.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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