#003A52

Closest named color: Midnight Green (#073B4C). oklch(32.8% 0.068 233.4), rgb(0, 58, 82).

Aa

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

About this color

#003A52 is a dark, muted blue. In OKLCH its lightness is 33%, its chroma 0.068 and its hue 233°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.013 away. White text reads best on it, at 12.15:1.

Hue familyBlues
Lightnessdark (33%)
Chromamuted (0.068)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.72:1
White text12.15:1

Values

HEX#003A52
RGBrgb(0, 58, 82)
HSLhsl(198, 100%, 16%)
OKLCHoklch(32.8% 0.068 233.4)

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 #003A52 12.15:1 AAA Lc -100.9 Preferred for body text
Black text on #003A52 1.72:1 Fails Lc 0.0 Not readable
#003A52 text on white 12.15:1 AAA Lc 97.3 Preferred for body text
#003A52 text on black 1.72: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 900.

  1. Step 50

    50

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C8DDE9

    oklch(88.6% 0.028 232.7)

  4. Step 300

    300

    #A1C7DD

    oklch(80.9% 0.051 233.6)

  5. Step 400

    400

    #6BAACC

    oklch(70.8% 0.082 233.2)

  6. Step 500

    500

    #3D94BE

    oklch(63.2% 0.104 232.8)

  7. Step 600

    600

    #087DAB

    oklch(55.6% 0.114 233.6)

  8. Step 700

    700

    #006991

    oklch(49% 0.102 233.6)

  9. Step 800

    800

    #035677

    oklch(42.7% 0.088 233.5)

  10. Step 900

    900 (this color)

    #003A52

    oklch(32.8% 0.068 233.4)

  11. Step 950

    950

    #0D2A38

    oklch(27% 0.043 232.5)

Export this scale for Tailwind in the Tailwind colors tool

#003A52 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)#2E3A530.043
Deuteranopia (no green cones)#2332520.036
Tritanopia (no blue cones)#0040420.040
Achromatopsia (no color)#3636360.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #003A52

    #003A52

    oklch(32.8% 0.068 233.4)

  • #4F2A0F

    #4F2A0F

    oklch(32.8% 0.067 53.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #003A52

    #003A52

    oklch(32.8% 0.068 233.4)

  • #003D42

    #003D42

    oklch(32.8% 0.056 203.9)

  • #223458

    #223458

    oklch(32.9% 0.068 263)

Open the analogous palette in the generator

Split complementary

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

  • #003A52

    #003A52

    oklch(32.8% 0.068 233.4)

  • #532524

    #532524

    oklch(32.9% 0.069 22.8)

  • #453100

    #453100

    oklch(32.7% 0.067 83.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #003A52

    #003A52

    oklch(32.8% 0.068 233.4)

  • #4F2538

    #4F2538

    oklch(32.9% 0.068 353)

  • #353806

    #353806

    oklch(32.7% 0.068 113.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #003A52

    #003A52

    oklch(32.8% 0.068 233.4)

  • #462849

    #462849

    oklch(32.9% 0.069 323.7)

  • #4F2A0F

    #4F2A0F

    oklch(32.8% 0.067 53.7)

  • #1D3E1D

    #1D3E1D

    oklch(32.9% 0.068 143.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #003A52 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.