#0D122F

Closest named color: Rich Black (#0D1B2A). oklch(19.7% 0.058 272.6), rgb(13, 18, 47).

Aa

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

About this color

#0D122F is a very dark, muted blue. In OKLCH its lightness is 20%, its chroma 0.058 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.035 away. White text reads best on it, at 18.34:1.

Hue familyBlues
Lightnessvery dark (20%)
Chromamuted (0.058)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.14:1
White text18.34:1

Values

HEX#0D122F
RGBrgb(13, 18, 47)
HSLhsl(231, 57%, 12%)
OKLCHoklch(19.7% 0.058 272.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 #0D122F 18.34:1 AAA Lc -107.0 Preferred for body text
Black text on #0D122F 1.14:1 Fails Lc 0.0 Not readable
#0D122F text on white 18.34:1 AAA Lc 104.9 Preferred for body text
#0D122F text on black 1.14: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F8

    oklch(93.5% 0.021 274)

  3. Step 200

    200

    #D0D8F3

    oklch(88.5% 0.038 272.5)

  4. Step 300

    300

    #B1BEEE

    oklch(80.8% 0.07 272.9)

  5. Step 400

    400

    #899CE5

    oklch(70.7% 0.109 272.2)

  6. Step 500

    500

    #6D81DE

    oklch(63% 0.141 272.6)

  7. Step 600

    600

    #5769CB

    oklch(55.6% 0.152 272.7)

  8. Step 700

    700

    #4757B0

    oklch(49.1% 0.142 272.5)

  9. Step 800

    800

    #3A478E

    oklch(42.6% 0.118 272.6)

  10. Step 900

    900

    #323D72

    oklch(37.9% 0.091 272.5)

  11. Step 950

    950 (this color)

    #0D122F

    oklch(19.7% 0.058 272.6)

Export this scale for Tailwind in the Tailwind colors tool

#0D122F 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)#0416300.017
Deuteranopia (no green cones)#01132E0.019
Tritanopia (no blue cones)#00191E0.051
Achromatopsia (no color)#1414140.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #0D122F

    #0D122F

    oklch(19.7% 0.058 272.6)

  • #1C1500

    #1C1500

    oklch(19.9% 0.041 93.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0D122F

    #0D122F

    oklch(19.7% 0.058 272.6)

  • #001729

    #001729

    oklch(19.7% 0.048 243.3)

  • #1B0D2A

    #1B0D2A

    oklch(19.6% 0.058 303.8)

Open the analogous palette in the generator

Split complementary

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

  • #0D122F

    #0D122F

    oklch(19.7% 0.058 272.6)

  • #231000

    #231000

    oklch(19.7% 0.045 63.4)

  • #111800

    #111800

    oklch(19.5% 0.048 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0D122F

    #0D122F

    oklch(19.7% 0.058 272.6)

  • #2A0804

    #2A0804

    oklch(19.6% 0.058 31.7)

  • #001C09

    #001C09

    oklch(19.8% 0.052 152.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0D122F

    #0D122F

    oklch(19.7% 0.058 272.6)

  • #290713

    #290713

    oklch(19.6% 0.058 2.1)

  • #1C1500

    #1C1500

    oklch(19.9% 0.041 93.2)

  • #001A17

    #001A17

    oklch(19.6% 0.035 184.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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