#04394D

Closest named color: Midnight Green (#073B4C). oklch(32.3% 0.062 230), rgb(4, 57, 77).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.062)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.69:1
White text12.37:1

Values

HEX#04394D
RGBrgb(4, 57, 77)
HSLhsl(196, 90%, 16%)
OKLCHoklch(32.3% 0.062 230)

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 #04394D 12.37:1 AAA Lc -101.3 Preferred for body text
Black text on #04394D 1.69:1 Fails Lc 0.0 Not readable
#04394D text on white 12.37:1 AAA Lc 97.8 Preferred for body text
#04394D text on black 1.69: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

    #DCEDF5

    oklch(93.6% 0.021 227.5)

  3. Step 200

    200

    #BFDFEF

    oklch(88.5% 0.04 229.4)

  4. Step 300

    300

    #8FCAE7

    oklch(80.9% 0.073 230)

  5. Step 400

    400

    #42AEDB

    oklch(70.8% 0.117 229.5)

  6. Step 500

    500

    #0096C6

    oklch(63% 0.126 229.9)

  7. Step 600

    600

    #007EA7

    oklch(55.5% 0.111 230)

  8. Step 700

    700

    #006A8D

    oklch(49.1% 0.098 229.8)

  9. Step 800

    800

    #005774

    oklch(42.7% 0.085 229.4)

  10. Step 900

    900

    #004862

    oklch(37.7% 0.076 230.8)

  11. Step 950

    950 (this color)

    #04394D

    oklch(32.3% 0.062 230)

Export this scale for Tailwind in the Tailwind colors tool

#04394D 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)#2F384E0.043
Deuteranopia (no green cones)#25324D0.035
Tritanopia (no blue cones)#003F400.036
Achromatopsia (no color)#3434340.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #04394D

    #04394D

    oklch(32.3% 0.062 230)

  • #4C2914

    #4C2914

    oklch(32.2% 0.062 50.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04394D

    #04394D

    oklch(32.3% 0.062 230)

  • #003C3F

    #003C3F

    oklch(32.4% 0.055 200.3)

  • #203353

    #203353

    oklch(32.2% 0.063 260.3)

Open the analogous palette in the generator

Split complementary

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

  • #04394D

    #04394D

    oklch(32.3% 0.062 230)

  • #4F2626

    #4F2626

    oklch(32.4% 0.062 21)

  • #443006

    #443006

    oklch(32.4% 0.062 81)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04394D

    #04394D

    oklch(32.3% 0.062 230)

  • #4B2638

    #4B2638

    oklch(32.4% 0.061 350.5)

  • #36360A

    #36360A

    oklch(32.3% 0.062 109.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04394D

    #04394D

    oklch(32.3% 0.062 230)

  • #422947

    #422947

    oklch(32.5% 0.061 320.8)

  • #4C2914

    #4C2914

    oklch(32.2% 0.062 50.1)

  • #223B1C

    #223B1C

    oklch(32.3% 0.061 139.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04394D 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.