#0D2970

Closest named color: Marine (#042E60). oklch(31.2% 0.127 264), rgb(13, 41, 112).

Aa

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

About this color

#0D2970 is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.127 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.032 away. White text reads best on it, at 13.39:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.56:1
White text13.39:1

Values

HEX#0D2970
RGBrgb(13, 41, 112)
HSLhsl(223, 79%, 25%)
OKLCHoklch(31.2% 0.127 264)

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 #0D2970 13.39:1 AAA Lc -102.5 Preferred for body text
Black text on #0D2970 1.56:1 Fails Lc 0.0 Not readable
#0D2970 text on white 13.39:1 AAA Lc 99.3 Preferred for body text
#0D2970 text on black 1.56: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 950.

  1. Step 50

    50

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C7DAFF

    oklch(88.6% 0.055 263.7)

  4. Step 300

    300

    #A1C0FF

    oklch(80.8% 0.096 264.1)

  5. Step 400

    400

    #6F9DFF

    oklch(70.7% 0.152 263.9)

  6. Step 500

    500

    #4980FF

    oklch(63% 0.198 264)

  7. Step 600

    600

    #235FFF

    oklch(55.6% 0.245 264.1)

  8. Step 700

    700

    #003AFD

    oklch(49.1% 0.283 264)

  9. Step 800

    800

    #002FD2

    oklch(42.7% 0.246 264)

  10. Step 900

    900

    #032CAA

    oklch(37.8% 0.202 263.9)

  11. Step 950

    950 (this color)

    #0D2970

    oklch(31.2% 0.127 264)

Export this scale for Tailwind in the Tailwind colors tool

#0D2970 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)#0034720.029
Deuteranopia (no green cones)#002B6F0.009
Tritanopia (no blue cones)#003B480.097
Achromatopsia (no color)#2F2F2F0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D2970

    #0D2970

    oklch(31.2% 0.127 264)

  • #402D00

    #402D00

    oklch(31.1% 0.064 83.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D2970

    #0D2970

    oklch(31.2% 0.127 264)

  • #00364D

    #00364D

    oklch(31.4% 0.065 233.8)

  • #371B69

    #371B69

    oklch(31.1% 0.128 294.2)

Open the analogous palette in the generator

Split complementary

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

  • #0D2970

    #0D2970

    oklch(31.2% 0.127 264)

  • #4E2300

    #4E2300

    oklch(31.1% 0.078 53.5)

  • #313400

    #313400

    oklch(31.2% 0.07 113.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D2970

    #0D2970

    oklch(31.2% 0.127 264)

  • #62000C

    #62000C

    oklch(31.3% 0.127 24.1)

  • #003D06

    #003D06

    oklch(31.3% 0.101 143.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D2970

    #0D2970

    oklch(31.2% 0.127 264)

  • #5C0135

    #5C0135

    oklch(31.1% 0.127 354)

  • #402D00

    #402D00

    oklch(31.1% 0.064 83.3)

  • #003A2F

    #003A2F

    oklch(31.1% 0.059 175.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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