#00405A

Closest named color: Midnight Green (#073B4C). oklch(35% 0.073 233.4), rgb(0, 64, 90).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.88:1
White text11.16:1

Values

HEX#00405A
RGBrgb(0, 64, 90)
HSLhsl(197, 100%, 18%)
OKLCHoklch(35% 0.073 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 #00405A 11.16:1 AAA Lc -99.2 Preferred for body text
Black text on #00405A 1.88:1 Fails Lc 8.6 Not readable
#00405A text on white 11.16:1 AAA Lc 95.3 Preferred for body text
#00405A text on black 1.88:1 Fails Lc -7.3 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

    #E0ECF3

    oklch(93.6% 0.016 233)

  3. Step 200

    200

    #C6DDEA

    oklch(88.4% 0.03 232.5)

  4. Step 300

    300

    #9EC7DF

    oklch(80.8% 0.055 234)

  5. Step 400

    400

    #66AACE

    oklch(70.7% 0.087 233)

  6. Step 500

    500

    #3494C2

    oklch(63.1% 0.111 233.5)

  7. Step 600

    600

    #007DAC

    oklch(55.5% 0.116 233.8)

  8. Step 700

    700

    #006991

    oklch(49% 0.102 233.6)

  9. Step 800

    800

    #005677

    oklch(42.6% 0.088 233.1)

  10. Step 900

    900 (this color)

    #00405A

    oklch(35% 0.073 233.4)

  11. Step 950

    950

    #0B2A39

    oklch(27% 0.045 233.1)

Export this scale for Tailwind in the Tailwind colors tool

#00405A 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)#333F5B0.045
Deuteranopia (no green cones)#28385A0.038
Tritanopia (no blue cones)#0047490.044
Achromatopsia (no color)#3B3B3B0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #00405A

    #00405A

    oklch(35% 0.073 233.4)

  • #572E11

    #572E11

    oklch(34.9% 0.073 52.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #00405A

    #00405A

    oklch(35% 0.073 233.4)

  • #004348

    #004348

    oklch(34.9% 0.059 203.2)

  • #263960

    #263960

    oklch(34.9% 0.073 263.4)

Open the analogous palette in the generator

Split complementary

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

  • #00405A

    #00405A

    oklch(35% 0.073 233.4)

  • #5B2928

    #5B2928

    oklch(35% 0.074 22.8)

  • #4C3600

    #4C3600

    oklch(34.9% 0.072 83.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #00405A

    #00405A

    oklch(35% 0.073 233.4)

  • #57293D

    #57293D

    oklch(35% 0.073 354.1)

  • #3B3E07

    #3B3E07

    oklch(35% 0.073 112.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #00405A

    #00405A

    oklch(35% 0.073 233.4)

  • #4C2C50

    #4C2C50

    oklch(34.8% 0.073 322.9)

  • #572E11

    #572E11

    oklch(34.9% 0.073 52.8)

  • #214420

    #214420

    oklch(35% 0.073 143.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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