#00406D

Closest named color: Twilight Blue (#0A437A). oklch(36.2% 0.096 247.5), rgb(0, 64, 109).

Aa

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

About this color

#00406D is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.096 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.024 away. White text reads best on it, at 10.74:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text1.95:1
White text10.74:1

Values

HEX#00406D
RGBrgb(0, 64, 109)
HSLhsl(205, 100%, 21%)
OKLCHoklch(36.2% 0.096 247.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 #00406D 10.74:1 AAA Lc -98.3 Preferred for body text
Black text on #00406D 1.95:1 Fails Lc 9.6 Not readable
#00406D text on white 10.74:1 AAA Lc 94.4 Preferred for body text
#00406D text on black 1.95:1 Fails Lc -8.2 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #DFECF8

    oklch(93.7% 0.021 245.9)

  3. Step 200

    200

    #C5DCF3

    oklch(88.5% 0.04 248.3)

  4. Step 300

    300

    #9CC6ED

    oklch(81% 0.071 246.8)

  5. Step 400

    400

    #62A6E5

    oklch(70.6% 0.116 248)

  6. Step 500

    500

    #2C8FDD

    oklch(63.2% 0.147 247.2)

  7. Step 600

    600

    #0077C4

    oklch(55.5% 0.148 247.6)

  8. Step 700

    700

    #0064A6

    oklch(49.1% 0.131 247.6)

  9. Step 800

    800

    #005289

    oklch(42.7% 0.113 247.3)

  10. Step 900

    900 (this color)

    #00406D

    oklch(36.2% 0.096 247.5)

  11. Step 950

    950

    #082842

    oklch(26.9% 0.061 247.3)

Export this scale for Tailwind in the Tailwind colors tool

#00406D 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)#29436F0.033
Deuteranopia (no green cones)#183A6C0.020
Tritanopia (no blue cones)#004B510.068
Achromatopsia (no color)#3E3E3E0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #00406D

    #00406D

    oklch(36.2% 0.096 247.5)

  • #593400

    #593400

    oklch(36.2% 0.08 67.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #00406D

    #00406D

    oklch(36.2% 0.096 247.5)

  • #004654

    #004654

    oklch(36.3% 0.065 216.8)

  • #32366F

    #32366F

    oklch(36.1% 0.097 277.4)

Open the analogous palette in the generator

Split complementary

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

  • #00406D

    #00406D

    oklch(36.2% 0.096 247.5)

  • #662714

    #662714

    oklch(36.1% 0.096 37.2)

  • #493D00

    #493D00

    oklch(36.2% 0.075 96.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #00406D

    #00406D

    oklch(36.2% 0.096 247.5)

  • #662334

    #662334

    oklch(36.2% 0.097 7.8)

  • #304600

    #304600

    oklch(36.2% 0.094 127.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #00406D

    #00406D

    oklch(36.2% 0.096 247.5)

  • #5C264F

    #5C264F

    oklch(36.1% 0.097 337.6)

  • #593400

    #593400

    oklch(36.2% 0.08 67.3)

  • #004B2B

    #004B2B

    oklch(36.3% 0.086 157.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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