#0D3148

Closest named color: Midnight Green (#073B4C). oklch(30% 0.058 240.9), rgb(13, 49, 72).

Aa

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

About this color

#0D3148 is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.058 and its hue 241°. 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.54:1.

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

Values

HEX#0D3148
RGBrgb(13, 49, 72)
HSLhsl(203, 69%, 17%)
OKLCHoklch(30% 0.058 240.9)

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 #0D3148 13.54:1 AAA Lc -103.0 Preferred for body text
Black text on #0D3148 1.55:1 Fails Lc 0.0 Not readable
#0D3148 text on white 13.54:1 AAA Lc 99.8 Preferred for body text
#0D3148 text on black 1.55: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

    #99C7E9

    oklch(80.9% 0.068 240.7)

  5. Step 400

    400

    #5CA9DF

    oklch(70.7% 0.11 241.2)

  6. Step 500

    500

    #1992D6

    oklch(63.1% 0.141 241.1)

  7. Step 600

    600

    #007BB7

    oklch(55.7% 0.129 240.7)

  8. Step 700

    700

    #00679B

    oklch(49.1% 0.115 241)

  9. Step 800

    800

    #005480

    oklch(42.6% 0.1 241.3)

  10. Step 900

    900

    #00466B

    oklch(37.7% 0.087 240.8)

  11. Step 950

    950 (this color)

    #0D3148

    oklch(30% 0.058 240.9)

Export this scale for Tailwind in the Tailwind colors tool

#0D3148 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)#2631490.029
Deuteranopia (no green cones)#1E2C480.023
Tritanopia (no blue cones)#0037390.040
Achromatopsia (no color)#2E2E2E0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D3148

    #0D3148

    oklch(30% 0.058 240.9)

  • #42260B

    #42260B

    oklch(29.9% 0.058 61.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D3148

    #0D3148

    oklch(30% 0.058 240.9)

  • #00353D

    #00353D

    oklch(30.2% 0.052 210.9)

  • #232C4B

    #232C4B

    oklch(30.1% 0.058 270.4)

Open the analogous palette in the generator

Split complementary

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

  • #0D3148

    #0D3148

    oklch(30% 0.058 240.9)

  • #47221B

    #47221B

    oklch(30.1% 0.058 31.9)

  • #392C03

    #392C03

    oklch(30% 0.058 90.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D3148

    #0D3148

    oklch(30% 0.058 240.9)

  • #45202C

    #45202C

    oklch(29.9% 0.059 0.6)

  • #2A320D

    #2A320D

    oklch(30% 0.058 120.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D3148

    #0D3148

    oklch(30% 0.058 240.9)

  • #3E223B

    #3E223B

    oklch(29.9% 0.058 330.8)

  • #42260B

    #42260B

    oklch(29.9% 0.058 61.1)

  • #15361E

    #15361E

    oklch(30% 0.058 150.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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