#0B172E

Closest named color: Rich Black (#0D1B2A). oklch(20.8% 0.049 262.2), rgb(11, 23, 46).

Aa

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

About this color

#0B172E is a very dark, muted blue. In OKLCH its lightness is 21%, its chroma 0.049 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.018 away. White text reads best on it, at 17.85:1.

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.049)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.17:1
White text17.85:1

Values

HEX#0B172E
RGBrgb(11, 23, 46)
HSLhsl(219, 61%, 11%)
OKLCHoklch(20.8% 0.049 262.2)

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 #0B172E 17.85:1 AAA Lc -106.7 Preferred for body text
Black text on #0B172E 1.17:1 Fails Lc 0.0 Not readable
#0B172E text on white 17.85:1 AAA Lc 104.5 Preferred for body text
#0B172E text on black 1.17: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

    #F3F6FB

    oklch(97.2% 0.007 260.7)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CEDAEF

    oklch(88.6% 0.032 261.7)

  4. Step 300

    300

    #ADC1E7

    oklch(80.9% 0.058 263.2)

  5. Step 400

    400

    #81A1DB

    oklch(70.8% 0.093 262)

  6. Step 500

    500

    #6188D1

    oklch(63% 0.119 262.1)

  7. Step 600

    600

    #4871BE

    oklch(55.6% 0.129 261.9)

  8. Step 700

    700

    #3A5EA4

    oklch(49.1% 0.12 262.3)

  9. Step 800

    800

    #304D85

    oklch(42.7% 0.1 262.3)

  10. Step 900

    900

    #2A416A

    oklch(37.7% 0.076 261.3)

  11. Step 950

    950 (this color)

    #0B172E

    oklch(20.8% 0.049 262.2)

Export this scale for Tailwind in the Tailwind colors tool

#0B172E 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)#0D192F0.008
Deuteranopia (no green cones)#08162E0.006
Tritanopia (no blue cones)#001C200.040
Achromatopsia (no color)#1717170.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #0B172E

    #0B172E

    oklch(20.8% 0.049 262.2)

  • #211500

    #211500

    oklch(20.6% 0.042 81.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B172E

    #0B172E

    oklch(20.8% 0.049 262.2)

  • #001B28

    #001B28

    oklch(20.9% 0.043 232)

  • #19132C

    #19132C

    oklch(20.9% 0.049 292.7)

Open the analogous palette in the generator

Split complementary

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

  • #0B172E

    #0B172E

    oklch(20.8% 0.049 262.2)

  • #291002

    #291002

    oklch(20.8% 0.049 50.9)

  • #181A00

    #181A00

    oklch(20.9% 0.047 113.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0B172E

    #0B172E

    oklch(20.8% 0.049 262.2)

  • #2A0D0D

    #2A0D0D

    oklch(20.7% 0.049 22.3)

  • #091D07

    #091D07

    oklch(20.7% 0.049 141.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B172E

    #0B172E

    oklch(20.8% 0.049 262.2)

  • #280D1A

    #280D1A

    oklch(20.8% 0.049 352.1)

  • #211500

    #211500

    oklch(20.6% 0.042 81.7)

  • #001E16

    #001E16

    oklch(20.9% 0.041 172.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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