#04344D

Closest named color: Midnight Green (#073B4C). oklch(30.9% 0.065 238.1), rgb(4, 52, 77).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.065)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.60:1
White text13.09:1

Values

HEX#04344D
RGBrgb(4, 52, 77)
HSLhsl(201, 90%, 16%)
OKLCHoklch(30.9% 0.065 238.1)

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 #04344D 13.09:1 AAA Lc -102.3 Preferred for body text
Black text on #04344D 1.60:1 Fails Lc 0.0 Not readable
#04344D text on white 13.09:1 AAA Lc 99.0 Preferred for body text
#04344D text on black 1.60: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

    #DDECF7

    oklch(93.5% 0.022 239.4)

  3. Step 200

    200

    #C0DEF3

    oklch(88.5% 0.043 238.5)

  4. Step 300

    300

    #91C8ED

    oklch(80.8% 0.078 238.4)

  5. Step 400

    400

    #49ABE5

    oklch(70.8% 0.124 238.2)

  6. Step 500

    500

    #0093D4

    oklch(63% 0.141 238.5)

  7. Step 600

    600

    #007CB3

    oklch(55.7% 0.124 238.2)

  8. Step 700

    700

    #006897

    oklch(49.1% 0.109 238.1)

  9. Step 800

    800

    #00557C

    oklch(42.7% 0.094 237.9)

  10. Step 900

    900

    #004768

    oklch(37.7% 0.083 237.5)

  11. Step 950

    950 (this color)

    #04344D

    oklch(30.9% 0.065 238.1)

Export this scale for Tailwind in the Tailwind colors tool

#04344D 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)#28344E0.036
Deuteranopia (no green cones)#1E2E4D0.028
Tritanopia (no blue cones)#003A3D0.041
Achromatopsia (no color)#3131310.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #04344D

    #04344D

    oklch(30.9% 0.065 238.1)

  • #482608

    #482608

    oklch(30.8% 0.066 57.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #04344D

    #04344D

    oklch(30.9% 0.065 238.1)

  • #00373E

    #00373E

    oklch(30.8% 0.053 208.6)

  • #222E51

    #222E51

    oklch(30.9% 0.065 268.2)

Open the analogous palette in the generator

Split complementary

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

  • #04344D

    #04344D

    oklch(30.9% 0.065 238.1)

  • #4C221D

    #4C221D

    oklch(31% 0.065 28.3)

  • #3D2E00

    #3D2E00

    oklch(31% 0.063 89.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #04344D

    #04344D

    oklch(30.9% 0.065 238.1)

  • #4A2030

    #4A2030

    oklch(30.9% 0.067 357.7)

  • #2D3407

    #2D3407

    oklch(30.8% 0.065 118.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #04344D

    #04344D

    oklch(30.9% 0.065 238.1)

  • #422341

    #422341

    oklch(31% 0.066 328.2)

  • #482608

    #482608

    oklch(30.8% 0.066 57.4)

  • #15391C

    #15391C

    oklch(30.9% 0.066 147.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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