#222F3F

Closest named color: Gunmetal (#293241). oklch(30.1% 0.034 254), rgb(34, 47, 63).

Aa

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

About this color

#222F3F is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.034 and its hue 254°. 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.57:1.

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

Values

HEX#222F3F
RGBrgb(34, 47, 63)
HSLhsl(213, 30%, 19%)
OKLCHoklch(30.1% 0.034 254)

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 #222F3F 13.57:1 AAA Lc -103.2 Preferred for body text
Black text on #222F3F 1.54:1 Fails Lc 0.0 Not readable
#222F3F text on white 13.57:1 AAA Lc 100.1 Preferred for body text
#222F3F 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

    #CFDAE8

    oklch(88.4% 0.023 254.4)

  4. Step 300

    300

    #AFC3DB

    oklch(81% 0.04 253.1)

  5. Step 400

    400

    #85A3C9

    oklch(70.7% 0.065 254.6)

  6. Step 500

    500

    #668CBB

    oklch(63.1% 0.083 254.2)

  7. Step 600

    600

    #4D76A7

    oklch(55.7% 0.089 253.6)

  8. Step 700

    700

    #3E638F

    oklch(49.2% 0.083 253.6)

  9. Step 800

    800

    #335174

    oklch(42.8% 0.069 253.1)

  10. Step 900

    900

    #2D435E

    oklch(37.7% 0.054 254.1)

  11. Step 950

    950 (this color)

    #222F3F

    oklch(30.1% 0.034 254)

Export this scale for Tailwind in the Tailwind colors tool

#222F3F 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)#2930400.012
Deuteranopia (no green cones)#262D3F0.009
Tritanopia (no blue cones)#1833340.031
Achromatopsia (no color)#2E2E2E0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #222F3F

    #222F3F

    oklch(30.1% 0.034 254)

  • #382B1A

    #382B1A

    oklch(29.9% 0.034 73.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #222F3F

    #222F3F

    oklch(30.1% 0.034 254)

  • #1A323B

    #1A323B

    oklch(30.2% 0.034 224.2)

  • #2C2C3F

    #2C2C3F

    oklch(30.2% 0.034 284.2)

Open the analogous palette in the generator

Split complementary

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

  • #222F3F

    #222F3F

    oklch(30.1% 0.034 254)

  • #3D2920

    #3D2920

    oklch(30.2% 0.034 45.2)

  • #312F1A

    #312F1A

    oklch(30.1% 0.035 103.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #222F3F

    #222F3F

    oklch(30.1% 0.034 254)

  • #3D2729

    #3D2729

    oklch(30% 0.033 13.3)

  • #273220

    #273220

    oklch(30.1% 0.035 133.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #222F3F

    #222F3F

    oklch(30.1% 0.034 254)

  • #3A2732

    #3A2732

    oklch(30% 0.034 343.7)

  • #382B1A

    #382B1A

    oklch(29.9% 0.034 73.4)

  • #1D3429

    #1D3429

    oklch(30.2% 0.036 162.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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