#0D4D71

Closest named color: Deep Sea Blue (#015482). oklch(40.1% 0.085 240), rgb(13, 77, 113).

Aa

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

About this color

#0D4D71 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.085 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.032 away. White text reads best on it, at 9.06:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.31:1
White text9.06:1

Values

HEX#0D4D71
RGBrgb(13, 77, 113)
HSLhsl(202, 79%, 25%)
OKLCHoklch(40.1% 0.085 240)

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 #0D4D71 9.06:1 AAA Lc -94.9 Preferred for body text
Black text on #0D4D71 2.31:1 Fails Lc 13.5 Not readable
#0D4D71 text on white 9.06:1 AAA Lc 90.4 Preferred for body text
#0D4D71 text on black 2.31:1 Fails Lc -11.9 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #DFECF5

    oklch(93.6% 0.018 237.8)

  3. Step 200

    200

    #C5DDEF

    oklch(88.5% 0.036 240.3)

  4. Step 300

    300

    #9BC7E6

    oklch(80.9% 0.064 239.3)

  5. Step 400

    400

    #61A9DA

    oklch(70.7% 0.102 240.1)

  6. Step 500

    500

    #2892D0

    oklch(63.1% 0.131 240.2)

  7. Step 600

    600

    #007BB6

    oklch(55.6% 0.128 240.2)

  8. Step 700

    700

    #006799

    oklch(49% 0.112 240)

  9. Step 800

    800

    #00557F

    oklch(42.8% 0.098 239.8)

  10. Step 900

    900 (this color)

    #0D4D71

    oklch(40.1% 0.085 240)

  11. Step 950

    950

    #07293E

    oklch(26.9% 0.055 240.7)

Export this scale for Tailwind in the Tailwind colors tool

#0D4D71 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)#3C4E730.044
Deuteranopia (no green cones)#2E45700.033
Tritanopia (no blue cones)#00565A0.056
Achromatopsia (no color)#4949490.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D4D71

    #0D4D71

    oklch(40.1% 0.085 240)

  • #693B0E

    #693B0E

    oklch(40.1% 0.086 59.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D4D71

    #0D4D71

    oklch(40.1% 0.085 240)

  • #00525D

    #00525D

    oklch(40.2% 0.07 210.3)

  • #364576

    #364576

    oklch(40.2% 0.085 269.5)

Open the analogous palette in the generator

Split complementary

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

  • #0D4D71

    #0D4D71

    oklch(40.1% 0.085 240)

  • #6F342B

    #6F342B

    oklch(40.1% 0.086 30.2)

  • #594500

    #594500

    oklch(40% 0.082 89.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D4D71

    #0D4D71

    oklch(40.1% 0.085 240)

  • #6C3246

    #6C3246

    oklch(40.1% 0.086 359.9)

  • #424E10

    #424E10

    oklch(40% 0.085 120)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D4D71

    #0D4D71

    oklch(40.1% 0.085 240)

  • #61365E

    #61365E

    oklch(40.2% 0.085 329.6)

  • #693B0E

    #693B0E

    oklch(40.1% 0.086 59.5)

  • #1F552E

    #1F552E

    oklch(40.2% 0.087 149.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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