#04344A

Closest named color: Midnight Green (#073B4C). oklch(30.7% 0.062 234.7), rgb(4, 52, 74).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.062)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.59:1
White text13.16:1

Values

HEX#04344A
RGBrgb(4, 52, 74)
HSLhsl(199, 90%, 15%)
OKLCHoklch(30.7% 0.062 234.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 #04344A 13.16:1 AAA Lc -102.4 Preferred for body text
Black text on #04344A 1.59:1 Fails Lc 0.0 Not readable
#04344A text on white 13.16:1 AAA Lc 99.2 Preferred for body text
#04344A text on black 1.59: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

    #DDEDF6

    oklch(93.7% 0.021 232.1)

  3. Step 200

    200

    #C0DEF0

    oklch(88.4% 0.04 234.3)

  4. Step 300

    300

    #92C9E9

    oklch(80.9% 0.073 234.4)

  5. Step 400

    400

    #4AACDF

    oklch(70.8% 0.117 234.7)

  6. Step 500

    500

    #0095CE

    oklch(63.2% 0.133 234.7)

  7. Step 600

    600

    #007DAE

    oklch(55.7% 0.118 234.9)

  8. Step 700

    700

    #006993

    oklch(49.2% 0.104 234.9)

  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)

    #04344A

    oklch(30.7% 0.062 234.7)

Export this scale for Tailwind in the Tailwind colors tool

#04344A 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)#29344B0.037
Deuteranopia (no green cones)#202D4A0.032
Tritanopia (no blue cones)#003A3C0.038
Achromatopsia (no color)#3030300.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #04344A

    #04344A

    oklch(30.7% 0.062 234.7)

  • #47260D

    #47260D

    oklch(30.7% 0.062 54.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04344A

    #04344A

    oklch(30.7% 0.062 234.7)

  • #00373C

    #00373C

    oklch(30.7% 0.052 204.7)

  • #202E4F

    #202E4F

    oklch(30.6% 0.063 265.5)

Open the analogous palette in the generator

Split complementary

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

  • #04344A

    #04344A

    oklch(30.7% 0.062 234.7)

  • #4A2220

    #4A2220

    oklch(30.7% 0.061 24.2)

  • #3E2C01

    #3E2C01

    oklch(30.6% 0.062 83.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04344A

    #04344A

    oklch(30.7% 0.062 234.7)

  • #472131

    #472131

    oklch(30.6% 0.062 354.8)

  • #2F3308

    #2F3308

    oklch(30.7% 0.062 114.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04344A

    #04344A

    oklch(30.7% 0.062 234.7)

  • #3F2441

    #3F2441

    oklch(30.7% 0.062 324.5)

  • #47260D

    #47260D

    oklch(30.7% 0.062 54.8)

  • #1A381B

    #1A381B

    oklch(30.9% 0.062 144.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #04344A 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.