#04374E

Closest named color: Midnight Green (#073B4C). oklch(31.8% 0.064 234.6), rgb(4, 55, 78).

Aa

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

About this color

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

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

Values

HEX#04374E
RGBrgb(4, 55, 78)
HSLhsl(199, 90%, 16%)
OKLCHoklch(31.8% 0.064 234.6)

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 #04374E 12.63:1 AAA Lc -101.7 Preferred for body text
Black text on #04374E 1.66:1 Fails Lc 0.0 Not readable
#04374E text on white 12.63:1 AAA Lc 98.3 Preferred for body text
#04374E 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

    #EFF7FB

    oklch(97.1% 0.01 228.9)

  2. Step 100

    100

    #DCEDF7

    oklch(93.6% 0.023 233.4)

  3. Step 200

    200

    #BFDEF1

    oklch(88.4% 0.042 234.9)

  4. Step 300

    300

    #90C9EB

    oklch(80.9% 0.076 235.2)

  5. Step 400

    400

    #44ACE1

    oklch(70.7% 0.122 234.6)

  6. Step 500

    500

    #0095CD

    oklch(63.1% 0.132 234.2)

  7. Step 600

    600

    #007DAD

    oklch(55.6% 0.117 234.3)

  8. Step 700

    700

    #006992

    oklch(49.1% 0.103 234.3)

  9. Step 800

    800

    #005679

    oklch(42.8% 0.09 234.7)

  10. Step 900

    900

    #004765

    oklch(37.6% 0.08 234.9)

  11. Step 950

    950 (this color)

    #04374E

    oklch(31.8% 0.064 234.6)

Export this scale for Tailwind in the Tailwind colors tool

#04374E 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)#2C374F0.040
Deuteranopia (no green cones)#22304E0.032
Tritanopia (no blue cones)#003D3F0.039
Achromatopsia (no color)#3333330.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #04374E

    #04374E

    oklch(31.8% 0.064 234.6)

  • #4B280E

    #4B280E

    oklch(31.7% 0.065 54.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04374E

    #04374E

    oklch(31.8% 0.064 234.6)

  • #003A3F

    #003A3F

    oklch(31.8% 0.054 204.3)

  • #223153

    #223153

    oklch(31.8% 0.064 265)

Open the analogous palette in the generator

Split complementary

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

  • #04374E

    #04374E

    oklch(31.8% 0.064 234.6)

  • #4E2422

    #4E2422

    oklch(31.8% 0.064 24.1)

  • #412F01

    #412F01

    oklch(31.7% 0.064 85.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04374E

    #04374E

    oklch(31.8% 0.064 234.6)

  • #4B2334

    #4B2334

    oklch(31.7% 0.065 354.6)

  • #323608

    #323608

    oklch(31.9% 0.065 114.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04374E

    #04374E

    oklch(31.8% 0.064 234.6)

  • #422644

    #422644

    oklch(31.7% 0.064 324.6)

  • #4B280E

    #4B280E

    oklch(31.7% 0.065 54.2)

  • #1B3B1D

    #1B3B1D

    oklch(31.9% 0.064 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 #04374E, closest first.

Similar named colors

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

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