#0B162F

Closest named color: Rich Black (#0D1B2A). oklch(20.6% 0.052 264.4), rgb(11, 22, 47).

Aa

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

About this color

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

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

Values

HEX#0B162F
RGBrgb(11, 22, 47)
HSLhsl(222, 62%, 11%)
OKLCHoklch(20.6% 0.052 264.4)

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 #0B162F 17.94:1 AAA Lc -106.8 Preferred for body text
Black text on #0B162F 1.17:1 Fails Lc 0.0 Not readable
#0B162F text on white 17.94:1 AAA Lc 104.6 Preferred for body text
#0B162F 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CED9F1

    oklch(88.4% 0.035 266)

  4. Step 300

    300

    #ADC1EA

    oklch(81% 0.062 264.6)

  5. Step 400

    400

    #82A0DF

    oklch(70.8% 0.099 264.5)

  6. Step 500

    500

    #6287D6

    oklch(63.1% 0.127 264.1)

  7. Step 600

    600

    #4A6FC3

    oklch(55.6% 0.137 264.5)

  8. Step 700

    700

    #3B5CA9

    oklch(49% 0.129 264.6)

  9. Step 800

    800

    #314C89

    oklch(42.8% 0.106 264.4)

  10. Step 900

    900

    #2B406D

    oklch(37.7% 0.082 264)

  11. Step 950

    950 (this color)

    #0B162F

    oklch(20.6% 0.052 264.4)

Export this scale for Tailwind in the Tailwind colors tool

#0B162F 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)#0A19300.010
Deuteranopia (no green cones)#05152E0.010
Tritanopia (no blue cones)#001C200.044
Achromatopsia (no color)#1717170.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #0B162F

    #0B162F

    oklch(20.6% 0.052 264.4)

  • #201500

    #201500

    oklch(20.5% 0.042 83.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B162F

    #0B162F

    oklch(20.6% 0.052 264.4)

  • #001A28

    #001A28

    oklch(20.5% 0.043 234.7)

  • #19122C

    #19122C

    oklch(20.6% 0.051 293.9)

Open the analogous palette in the generator

Split complementary

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

  • #0B162F

    #0B162F

    oklch(20.6% 0.052 264.4)

  • #290F00

    #290F00

    oklch(20.6% 0.052 52.9)

  • #171900

    #171900

    oklch(20.4% 0.046 113.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0B162F

    #0B162F

    oklch(20.6% 0.052 264.4)

  • #2B0C0B

    #2B0C0B

    oklch(20.6% 0.052 24.6)

  • #061D07

    #061D07

    oklch(20.5% 0.051 144.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B162F

    #0B162F

    oklch(20.6% 0.052 264.4)

  • #290C19

    #290C19

    oklch(20.7% 0.052 354.5)

  • #201500

    #201500

    oklch(20.5% 0.042 83.9)

  • #001D16

    #001D16

    oklch(20.6% 0.039 174.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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