#0D409E

Closest named color: Sapphire (#2138AB). oklch(40.4% 0.162 261.5), rgb(13, 64, 158).

Aa

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

About this color

#0D409E is a dark, vivid blue. In OKLCH its lightness is 40%, its chroma 0.162 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.030 away. White text reads best on it, at 9.35:1.

Hue familyBlues
Lightnessdark (40%)
Chromavivid (0.162)
Temperaturecool
Nearest nameSapphire (#2138AB)
Black text2.24:1
White text9.35:1

Values

HEX#0D409E
RGBrgb(13, 64, 158)
HSLhsl(219, 85%, 34%)
OKLCHoklch(40.4% 0.162 261.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 #0D409E 9.35:1 AAA Lc -95.3 Preferred for body text
Black text on #0D409E 2.24:1 Fails Lc 13.1 Not readable
#0D409E text on white 9.35:1 AAA Lc 90.9 Preferred for body text
#0D409E text on black 2.24:1 Fails Lc -11.4 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 800.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EAFD

    oklch(93.5% 0.028 263.4)

  3. Step 200

    200

    #C6DAFD

    oklch(88.5% 0.053 261.7)

  4. Step 300

    300

    #9FC1FE

    oklch(80.8% 0.094 261.9)

  5. Step 400

    400

    #6A9FFE

    oklch(70.8% 0.151 261.3)

  6. Step 500

    500

    #4283FC

    oklch(63.2% 0.193 261.5)

  7. Step 600

    600

    #2268EB

    oklch(55.5% 0.21 261.5)

  8. Step 700

    700

    #1556CD

    oklch(49.2% 0.195 261.4)

  9. Step 800

    800 (this color)

    #0D409E

    oklch(40.4% 0.162 261.5)

  10. Step 900

    900

    #173D83

    oklch(37.7% 0.126 261.3)

  11. Step 950

    950

    #0F244D

    oklch(27% 0.081 262.1)

Export this scale for Tailwind in the Tailwind colors tool

#0D409E 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)#004DA10.034
Deuteranopia (no green cones)#00409C0.006
Tritanopia (no blue cones)#0058680.124
Achromatopsia (no color)#4747470.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D409E

    #0D409E

    oklch(40.4% 0.162 261.5)

  • #5F4300

    #5F4300

    oklch(40.3% 0.083 81.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D409E

    #0D409E

    oklch(40.4% 0.162 261.5)

  • #00506D

    #00506D

    oklch(40.5% 0.082 231.3)

  • #4E2E97

    #4E2E97

    oklch(40.5% 0.162 291.5)

Open the analogous palette in the generator

Split complementary

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

  • #0D409E

    #0D409E

    oklch(40.4% 0.162 261.5)

  • #733400

    #733400

    oklch(40.3% 0.105 51.2)

  • #4B4D00

    #4B4D00

    oklch(40.5% 0.089 111.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D409E

    #0D409E

    oklch(40.4% 0.162 261.5)

  • #8C021D

    #8C021D

    oklch(40.5% 0.162 21.7)

  • #0B5900

    #0B5900

    oklch(40.4% 0.134 141.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D409E

    #0D409E

    oklch(40.4% 0.162 261.5)

  • #830952

    #830952

    oklch(40.5% 0.161 351.9)

  • #5F4300

    #5F4300

    oklch(40.3% 0.083 81.5)

  • #005643

    #005643

    oklch(40.3% 0.079 171.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0D409E 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.