#0D3147

Closest named color: Midnight Green (#073B4C). oklch(29.9% 0.057 239.7), rgb(13, 49, 71).

Aa

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

About this color

#0D3147 is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.057 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.033 away. White text reads best on it, at 13.57:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.057)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.54:1
White text13.57:1

Values

HEX#0D3147
RGBrgb(13, 49, 71)
HSLhsl(203, 69%, 16%)
OKLCHoklch(29.9% 0.057 239.7)

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 #0D3147 13.57:1 AAA Lc -103.0 Preferred for body text
Black text on #0D3147 1.54:1 Fails Lc 0.0 Not readable
#0D3147 text on white 13.57:1 AAA Lc 99.9 Preferred for body text
#0D3147 text on black 1.54: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

    #F0F6FB

    oklch(97% 0.009 242.8)

  2. Step 100

    100

    #DFECF6

    oklch(93.6% 0.019 240.7)

  3. Step 200

    200

    #C4DDF0

    oklch(88.5% 0.037 240.7)

  4. Step 300

    300

    #99C7E8

    oklch(80.9% 0.067 239.8)

  5. Step 400

    400

    #5CA9DD

    oklch(70.7% 0.108 240.2)

  6. Step 500

    500

    #1A93D3

    oklch(63.2% 0.137 239.4)

  7. Step 600

    600

    #007BB5

    oklch(55.6% 0.127 239.8)

  8. Step 700

    700

    #006799

    oklch(49% 0.112 240)

  9. Step 800

    800

    #00557E

    oklch(42.8% 0.097 239.2)

  10. Step 900

    900

    #00466A

    oklch(37.6% 0.086 240.1)

  11. Step 950

    950 (this color)

    #0D3147

    oklch(29.9% 0.057 239.7)

Export this scale for Tailwind in the Tailwind colors tool

#0D3147 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)#2731480.030
Deuteranopia (no green cones)#1F2C470.024
Tritanopia (no blue cones)#0037390.039
Achromatopsia (no color)#2E2E2E0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D3147

    #0D3147

    oklch(29.9% 0.057 239.7)

  • #42260D

    #42260D

    oklch(29.9% 0.056 59.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D3147

    #0D3147

    oklch(29.9% 0.057 239.7)

  • #00343C

    #00343C

    oklch(29.8% 0.052 211.1)

  • #222C4A

    #222C4A

    oklch(30% 0.056 268.9)

Open the analogous palette in the generator

Split complementary

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

  • #0D3147

    #0D3147

    oklch(29.9% 0.057 239.7)

  • #46221C

    #46221C

    oklch(30% 0.057 30.6)

  • #392C05

    #392C05

    oklch(30% 0.057 89.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D3147

    #0D3147

    oklch(29.9% 0.057 239.7)

  • #44212D

    #44212D

    oklch(30% 0.056 359.1)

  • #2A320D

    #2A320D

    oklch(30% 0.058 120.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D3147

    #0D3147

    oklch(29.9% 0.057 239.7)

  • #3D233B

    #3D233B

    oklch(30% 0.055 329.6)

  • #42260D

    #42260D

    oklch(29.9% 0.056 59.5)

  • #16351E

    #16351E

    oklch(29.8% 0.056 150.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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