#0B173E

Closest named color: Navy Blue (#001146). oklch(22.2% 0.077 267), rgb(11, 23, 62).

Aa

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

About this color

#0B173E is a very dark, moderately saturated blue. In OKLCH its lightness is 22%, its chroma 0.077 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.029 away. White text reads best on it, at 17.40:1.

Hue familyBlues
Lightnessvery dark (22%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.20:1
White text17.40:1

Values

HEX#0B173E
RGBrgb(11, 23, 62)
HSLhsl(226, 70%, 14%)
OKLCHoklch(22.2% 0.077 267)

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 #0B173E 17.40:1 AAA Lc -106.4 Preferred for body text
Black text on #0B173E 1.20:1 Fails Lc 0.0 Not readable
#0B173E text on white 17.40:1 AAA Lc 104.0 Preferred for body text
#0B173E text on black 1.20: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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E2EAFC

    oklch(93.6% 0.026 266.6)

  3. Step 200

    200

    #CAD9FB

    oklch(88.5% 0.05 266.5)

  4. Step 300

    300

    #A6BFFC

    oklch(80.8% 0.091 267.1)

  5. Step 400

    400

    #789CFB

    oklch(70.8% 0.145 267)

  6. Step 500

    500

    #5780F8

    oklch(63.2% 0.185 266.9)

  7. Step 600

    600

    #3F65E7

    oklch(55.6% 0.201 267.1)

  8. Step 700

    700

    #3153C9

    oklch(49.1% 0.187 266.9)

  9. Step 800

    800

    #2945A2

    oklch(42.7% 0.154 266.9)

  10. Step 900

    900

    #253B81

    oklch(37.7% 0.121 267.2)

  11. Step 950

    950 (this color)

    #0B173E

    oklch(22.2% 0.077 267)

Export this scale for Tailwind in the Tailwind colors tool

#0B173E 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)#001C3F0.018
Deuteranopia (no green cones)#00183D0.014
Tritanopia (no blue cones)#0020270.061
Achromatopsia (no color)#1A1A1A0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #0B173E

    #0B173E

    oklch(22.2% 0.077 267)

  • #241900

    #241900

    oklch(22.1% 0.045 86.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0B173E

    #0B173E

    oklch(22.2% 0.077 267)

  • #001E2E

    #001E2E

    oklch(22.2% 0.048 235.7)

  • #201039

    #201039

    oklch(22.2% 0.076 297.8)

Open the analogous palette in the generator

Split complementary

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

  • #0B173E

    #0B173E

    oklch(22.2% 0.077 267)

  • #2D1300

    #2D1300

    oklch(22.1% 0.054 56.7)

  • #1A1E00

    #1A1E00

    oklch(22.3% 0.051 116.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0B173E

    #0B173E

    oklch(22.2% 0.077 267)

  • #370606

    #370606

    oklch(22.1% 0.077 26.2)

  • #002306

    #002306

    oklch(22.3% 0.067 146.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0B173E

    #0B173E

    oklch(22.2% 0.077 267)

  • #34061B

    #34061B

    oklch(22.1% 0.076 357.4)

  • #241900

    #241900

    oklch(22.1% 0.045 86.5)

  • #00211B

    #00211B

    oklch(22.2% 0.041 178.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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