#003A56

Closest named color: Midnight Green (#073B4C). oklch(33% 0.073 237.5), rgb(0, 58, 86).

Aa

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

About this color

#003A56 is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.073 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.019 away. White text reads best on it, at 12.07:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.73:1
White text12.07:1

Values

HEX#003A56
RGBrgb(0, 58, 86)
HSLhsl(200, 100%, 17%)
OKLCHoklch(33% 0.073 237.5)

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 #003A56 12.07:1 AAA Lc -100.7 Preferred for body text
Black text on #003A56 1.73:1 Fails Lc 0.0 Not readable
#003A56 text on white 12.07:1 AAA Lc 97.1 Preferred for body text
#003A56 text on black 1.73: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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1ECF3

    oklch(93.7% 0.015 235.4)

  3. Step 200

    200

    #C7DDEB

    oklch(88.6% 0.03 235.7)

  4. Step 300

    300

    #A0C7E0

    oklch(81% 0.055 236.5)

  5. Step 400

    400

    #6AA9D1

    oklch(70.8% 0.088 237.6)

  6. Step 500

    500

    #3B93C4

    oklch(63.2% 0.111 236.8)

  7. Step 600

    600

    #057CB1

    oklch(55.6% 0.121 237.5)

  8. Step 700

    700

    #006896

    oklch(49.1% 0.108 237.6)

  9. Step 800

    800

    #02557B

    oklch(42.6% 0.093 237.4)

  10. Step 900

    900 (this color)

    #003A56

    oklch(33% 0.073 237.5)

  11. Step 950

    950

    #0D293A

    oklch(26.9% 0.046 238.6)

Export this scale for Tailwind in the Tailwind colors tool

#003A56 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)#2C3A570.039
Deuteranopia (no green cones)#2133560.031
Tritanopia (no blue cones)#0041440.046
Achromatopsia (no color)#3636360.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #003A56

    #003A56

    oklch(33% 0.073 237.5)

  • #512A07

    #512A07

    oklch(33% 0.073 56.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #003A56

    #003A56

    oklch(33% 0.073 237.5)

  • #003D44

    #003D44

    oklch(32.9% 0.057 207.5)

  • #25335B

    #25335B

    oklch(33% 0.073 267.7)

Open the analogous palette in the generator

Split complementary

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

  • #003A56

    #003A56

    oklch(33% 0.073 237.5)

  • #552520

    #552520

    oklch(33.1% 0.073 27.7)

  • #443300

    #443300

    oklch(33.1% 0.068 88.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #003A56

    #003A56

    oklch(33% 0.073 237.5)

  • #522436

    #522436

    oklch(33.1% 0.072 357.1)

  • #333A04

    #333A04

    oklch(33.1% 0.073 117.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #003A56

    #003A56

    oklch(33% 0.073 237.5)

  • #492749

    #492749

    oklch(33.1% 0.073 327.1)

  • #512A07

    #512A07

    oklch(33% 0.073 56.9)

  • #173F1E

    #173F1E

    oklch(32.9% 0.073 147.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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