#04313B

Closest named color: Midnight Green (#073B4C). oklch(29% 0.049 216.9), rgb(4, 49, 59).

Aa

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

About this color

#04313B is a dark, muted teal or cyan. In OKLCH its lightness is 29%, its chroma 0.049 and its hue 217°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.041 away. White text reads best on it, at 13.92:1.

Hue familyTeals and cyans
Lightnessdark (29%)
Chromamuted (0.049)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.50:1
White text13.92:1

Values

HEX#04313B
RGBrgb(4, 49, 59)
HSLhsl(191, 87%, 12%)
OKLCHoklch(29% 0.049 216.9)

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 #04313B 13.92:1 AAA Lc -103.4 Preferred for body text
Black text on #04313B 1.50:1 Fails Lc 0.0 Not readable
#04313B text on white 13.92:1 AAA Lc 100.3 Preferred for body text
#04313B 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

    #F0F7F9

    oklch(97.1% 0.008 216.6)

  2. Step 100

    100

    #DEEDF1

    oklch(93.6% 0.017 215.5)

  3. Step 200

    200

    #C2DFE7

    oklch(88.5% 0.033 216.2)

  4. Step 300

    300

    #96CAD9

    oklch(80.8% 0.058 217.5)

  5. Step 400

    400

    #54AFC6

    oklch(70.7% 0.092 216.7)

  6. Step 500

    500

    #0099B6

    oklch(63% 0.113 217.6)

  7. Step 600

    600

    #008199

    oklch(55.6% 0.099 216.9)

  8. Step 700

    700

    #006C81

    oklch(49% 0.088 217.4)

  9. Step 800

    800

    #00596A

    oklch(42.8% 0.076 216.6)

  10. Step 900

    900

    #004A59

    oklch(37.7% 0.067 217.2)

  11. Step 950

    950 (this color)

    #04313B

    oklch(29% 0.049 216.9)

Export this scale for Tailwind in the Tailwind colors tool

#04313B 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)#2A2F3C0.042
Deuteranopia (no green cones)#232A3B0.038
Tritanopia (no blue cones)#0034340.020
Achromatopsia (no color)#2C2C2C0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #04313B

    #04313B

    oklch(29% 0.049 216.9)

  • #402219

    #402219

    oklch(29% 0.049 37.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04313B

    #04313B

    oklch(29% 0.049 216.9)

  • #03332F

    #03332F

    oklch(29% 0.049 186.3)

  • #152D42

    #152D42

    oklch(28.9% 0.049 246.9)

Open the analogous palette in the generator

Split complementary

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

  • #04313B

    #04313B

    oklch(29% 0.049 216.9)

  • #402027

    #402027

    oklch(28.9% 0.05 6.7)

  • #3B260E

    #3B260E

    oklch(28.9% 0.048 67.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04313B

    #04313B

    oklch(29% 0.049 216.9)

  • #3B2134

    #3B2134

    oklch(28.9% 0.05 337.4)

  • #322B0B

    #322B0B

    oklch(28.9% 0.049 96.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04313B

    #04313B

    oklch(29% 0.049 216.9)

  • #32243E

    #32243E

    oklch(28.9% 0.05 308.3)

  • #402219

    #402219

    oklch(29% 0.049 37.5)

  • #253014

    #253014

    oklch(29.1% 0.049 126.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04313B 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.