#04222F

Closest named color: Rich Black (#0D1B2A). oklch(23.7% 0.043 230.7), rgb(4, 34, 47).

Aa

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

About this color

#04222F is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.043 and its hue 231°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.025 away. White text reads best on it, at 16.47:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.043)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.27:1
White text16.47:1

Values

HEX#04222F
RGBrgb(4, 34, 47)
HSLhsl(198, 84%, 10%)
OKLCHoklch(23.7% 0.043 230.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 #04222F 16.47:1 AAA Lc -105.7 Preferred for body text
Black text on #04222F 1.27:1 Fails Lc 0.0 Not readable
#04222F text on white 16.47:1 AAA Lc 103.2 Preferred for body text
#04222F text on black 1.27: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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C7DDE9

    oklch(88.5% 0.029 231.5)

  4. Step 300

    300

    #A0C7DC

    oklch(80.8% 0.051 231.7)

  5. Step 400

    400

    #69AACA

    oklch(70.7% 0.081 230.8)

  6. Step 500

    500

    #3994BC

    oklch(63% 0.104 230.7)

  7. Step 600

    600

    #007EA8

    oklch(55.6% 0.112 230.6)

  8. Step 700

    700

    #006A8E

    oklch(49.1% 0.099 230.6)

  9. Step 800

    800

    #005775

    oklch(42.8% 0.086 230.3)

  10. Step 900

    900

    #10485F

    oklch(37.8% 0.068 230.5)

  11. Step 950

    950 (this color)

    #04222F

    oklch(23.7% 0.043 230.7)

Export this scale for Tailwind in the Tailwind colors tool

#04222F 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)#1B21300.029
Deuteranopia (no green cones)#151D2F0.025
Tritanopia (no blue cones)#0026260.027
Achromatopsia (no color)#1F1F1F0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #04222F

    #04222F

    oklch(23.7% 0.043 230.7)

  • #2F180B

    #2F180B

    oklch(23.8% 0.043 49.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04222F

    #04222F

    oklch(23.7% 0.043 230.7)

  • #002426

    #002426

    oklch(23.7% 0.04 200.3)

  • #131E33

    #131E33

    oklch(23.6% 0.044 262.5)

Open the analogous palette in the generator

Split complementary

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

  • #04222F

    #04222F

    oklch(23.7% 0.043 230.7)

  • #301616

    #301616

    oklch(23.8% 0.042 20.7)

  • #291C04

    #291C04

    oklch(23.7% 0.043 80.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04222F

    #04222F

    oklch(23.7% 0.043 230.7)

  • #2E1621

    #2E1621

    oklch(23.8% 0.042 351.9)

  • #202006

    #202006

    oklch(23.7% 0.042 109.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04222F

    #04222F

    oklch(23.7% 0.043 230.7)

  • #28182B

    #28182B

    oklch(23.9% 0.042 321.1)

  • #2F180B

    #2F180B

    oklch(23.8% 0.043 49.1)

  • #132410

    #132410

    oklch(23.9% 0.043 140.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04222F 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.