#0D316A

Closest named color: Marine Blue (#01386A). oklch(32.5% 0.108 259.6), rgb(13, 49, 106).

Aa

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

About this color

#0D316A is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.108 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.021 away. White text reads best on it, at 12.61:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.66:1
White text12.61:1

Values

HEX#0D316A
RGBrgb(13, 49, 106)
HSLhsl(217, 78%, 23%)
OKLCHoklch(32.5% 0.108 259.6)

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 #0D316A 12.61:1 AAA Lc -101.6 Preferred for body text
Black text on #0D316A 1.66:1 Fails Lc 0.0 Not readable
#0D316A text on white 12.61:1 AAA Lc 98.2 Preferred for body text
#0D316A text on black 1.66: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 900.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EBFA

    oklch(93.7% 0.023 258.4)

  3. Step 200

    200

    #C8DAF8

    oklch(88.4% 0.046 260.7)

  4. Step 300

    300

    #A2C2F5

    oklch(80.9% 0.081 259.6)

  5. Step 400

    400

    #6FA1F1

    oklch(70.8% 0.13 259.5)

  6. Step 500

    500

    #4887EC

    oklch(63.2% 0.165 259.5)

  7. Step 600

    600

    #2A6EDA

    oklch(55.6% 0.179 259.6)

  8. Step 700

    700

    #1C5BBD

    oklch(49.1% 0.167 259.5)

  9. Step 800

    800

    #1A4B99

    oklch(42.7% 0.138 259.6)

  10. Step 900

    900 (this color)

    #0D316A

    oklch(32.5% 0.108 259.6)

  11. Step 950

    950

    #112647

    oklch(27.1% 0.067 259.1)

Export this scale for Tailwind in the Tailwind colors tool

#0D316A 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)#0B386C0.021
Deuteranopia (no green cones)#002F690.011
Tritanopia (no blue cones)#003F480.083
Achromatopsia (no color)#3333330.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D316A

    #0D316A

    oklch(32.5% 0.108 259.6)

  • #462F00

    #462F00

    oklch(32.4% 0.067 79.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D316A

    #0D316A

    oklch(32.5% 0.108 259.6)

  • #003A4E

    #003A4E

    oklch(32.6% 0.064 228.6)

  • #352666

    #352666

    oklch(32.5% 0.108 289.9)

Open the analogous palette in the generator

Split complementary

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

  • #0D316A

    #0D316A

    oklch(32.5% 0.108 259.6)

  • #562300

    #562300

    oklch(32.5% 0.087 48.9)

  • #373700

    #373700

    oklch(32.6% 0.071 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D316A

    #0D316A

    oklch(32.5% 0.108 259.6)

  • #60131C

    #60131C

    oklch(32.5% 0.109 19.6)

  • #0F4000

    #0F4000

    oklch(32.6% 0.104 139.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D316A

    #0D316A

    oklch(32.5% 0.108 259.6)

  • #59153C

    #59153C

    oklch(32.4% 0.108 349.5)

  • #462F00

    #462F00

    oklch(32.4% 0.067 79.2)

  • #003E2F

    #003E2F

    oklch(32.4% 0.064 170.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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