#04374F

Closest named color: Midnight Green (#073B4C). oklch(31.9% 0.065 235.7), rgb(4, 55, 79).

Aa

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

About this color

#04374F is a dark, muted blue. In OKLCH its lightness is 32%, its chroma 0.065 and its hue 236°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.016 away. White text reads best on it, at 12.61:1.

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.065)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.66:1
White text12.61:1

Values

HEX#04374F
RGBrgb(4, 55, 79)
HSLhsl(199, 90%, 16%)
OKLCHoklch(31.9% 0.065 235.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 #04374F 12.61:1 AAA Lc -101.7 Preferred for body text
Black text on #04374F 1.66:1 Fails Lc 0.0 Not readable
#04374F text on white 12.61:1 AAA Lc 98.2 Preferred for body text
#04374F text on black 1.66: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

    #EFF7FC

    oklch(97.2% 0.011 234.8)

  2. Step 100

    100

    #DCEDF7

    oklch(93.6% 0.023 233.4)

  3. Step 200

    200

    #BFDEF2

    oklch(88.4% 0.043 236.3)

  4. Step 300

    300

    #8FC9EC

    oklch(80.9% 0.078 235.5)

  5. Step 400

    400

    #44ACE3

    oklch(70.8% 0.124 235.6)

  6. Step 500

    500

    #0094CF

    oklch(63% 0.135 235.8)

  7. Step 600

    600

    #007DAF

    oklch(55.7% 0.119 235.4)

  8. Step 700

    700

    #006994

    oklch(49.2% 0.105 235.5)

  9. Step 800

    800

    #00567A

    oklch(42.8% 0.091 235.4)

  10. Step 900

    900

    #004766

    oklch(37.6% 0.081 235.8)

  11. Step 950

    950 (this color)

    #04374F

    oklch(31.9% 0.065 235.7)

Export this scale for Tailwind in the Tailwind colors tool

#04374F 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)#2B37500.038
Deuteranopia (no green cones)#21304F0.031
Tritanopia (no blue cones)#003D3F0.041
Achromatopsia (no color)#3333330.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #04374F

    #04374F

    oklch(31.9% 0.065 235.7)

  • #4B280D

    #4B280D

    oklch(31.7% 0.065 55)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04374F

    #04374F

    oklch(31.9% 0.065 235.7)

  • #003A40

    #003A40

    oklch(31.8% 0.054 206.2)

  • #223154

    #223154

    oklch(31.9% 0.066 265.3)

Open the analogous palette in the generator

Split complementary

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

  • #04374F

    #04374F

    oklch(31.9% 0.065 235.7)

  • #4F2421

    #4F2421

    oklch(31.9% 0.065 25.5)

  • #412F00

    #412F00

    oklch(31.7% 0.065 85.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04374F

    #04374F

    oklch(31.9% 0.065 235.7)

  • #4C2334

    #4C2334

    oklch(31.9% 0.066 355.3)

  • #313608

    #313608

    oklch(31.8% 0.065 115.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04374F

    #04374F

    oklch(31.9% 0.065 235.7)

  • #432644

    #432644

    oklch(31.8% 0.064 325.8)

  • #4B280D

    #4B280D

    oklch(31.7% 0.065 55)

  • #1A3B1D

    #1A3B1D

    oklch(31.8% 0.065 145.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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