#04202E

Closest named color: Rich Black (#0D1B2A). oklch(23% 0.043 234.1), rgb(4, 32, 46).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.043)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.25:1
White text16.78:1

Values

HEX#04202E
RGBrgb(4, 32, 46)
HSLhsl(200, 84%, 10%)
OKLCHoklch(23% 0.043 234.1)

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 #04202E 16.78:1 AAA Lc -106.0 Preferred for body text
Black text on #04202E 1.25:1 Fails Lc 0.0 Not readable
#04202E text on white 16.78:1 AAA Lc 103.5 Preferred for body text
#04202E text on black 1.25: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

    #C8DDE9

    oklch(88.6% 0.028 232.7)

  4. Step 300

    300

    #A1C7DD

    oklch(80.9% 0.051 233.6)

  5. Step 400

    400

    #6CA9CC

    oklch(70.7% 0.081 234.8)

  6. Step 500

    500

    #3E93BF

    oklch(63% 0.105 234.5)

  7. Step 600

    600

    #0F7DAB

    oklch(55.6% 0.113 234.1)

  8. Step 700

    700

    #006992

    oklch(49.1% 0.103 234.3)

  9. Step 800

    800

    #065677

    oklch(42.7% 0.087 233.8)

  10. Step 900

    900

    #144760

    oklch(37.7% 0.068 234.3)

  11. Step 950

    950 (this color)

    #04202E

    oklch(23% 0.043 234.1)

Export this scale for Tailwind in the Tailwind colors tool

#04202E 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)#19202F0.027
Deuteranopia (no green cones)#131C2E0.021
Tritanopia (no blue cones)#0024250.027
Achromatopsia (no color)#1D1D1D0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #04202E

    #04202E

    oklch(23% 0.043 234.1)

  • #2C1708

    #2C1708

    oklch(23% 0.042 54.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04202E

    #04202E

    oklch(23% 0.043 234.1)

  • #002225

    #002225

    oklch(23% 0.039 203.3)

  • #131C31

    #131C31

    oklch(23% 0.043 265.6)

Open the analogous palette in the generator

Split complementary

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

  • #04202E

    #04202E

    oklch(23% 0.043 234.1)

  • #2E1413

    #2E1413

    oklch(22.9% 0.043 23.3)

  • #261B03

    #261B03

    oklch(23% 0.042 84.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04202E

    #04202E

    oklch(23% 0.043 234.1)

  • #2C141E

    #2C141E

    oklch(23% 0.042 354.5)

  • #1D1F05

    #1D1F05

    oklch(23% 0.043 113.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04202E

    #04202E

    oklch(23% 0.043 234.1)

  • #271628

    #271628

    oklch(23.1% 0.042 324.9)

  • #2C1708

    #2C1708

    oklch(23% 0.042 54.6)

  • #0F2210

    #0F2210

    oklch(23% 0.042 145.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04202E 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.