#0A172B

Closest named color: Rich Black (#0D1B2A). oklch(20.5% 0.044 258.7), rgb(10, 23, 43).

Aa

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

About this color

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

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

Values

HEX#0A172B
RGBrgb(10, 23, 43)
HSLhsl(216, 62%, 10%)
OKLCHoklch(20.5% 0.044 258.7)

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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF4

    oklch(93.5% 0.015 260.7)

  3. Step 200

    200

    #CEDAED

    oklch(88.5% 0.029 259.6)

  4. Step 300

    300

    #ADC2E3

    oklch(80.9% 0.052 259.4)

  5. Step 400

    400

    #81A2D5

    oklch(70.7% 0.084 258.9)

  6. Step 500

    500

    #618ACA

    oklch(63.1% 0.107 259)

  7. Step 600

    600

    #4773B7

    oklch(55.6% 0.117 258.8)

  8. Step 700

    700

    #39609D

    oklch(49% 0.108 259)

  9. Step 800

    800

    #2F4F7F

    oklch(42.7% 0.089 258.3)

  10. Step 900

    900

    #2A4266

    oklch(37.7% 0.069 258.3)

  11. Step 950

    950 (this color)

    #0A172B

    oklch(20.5% 0.044 258.7)

Export this scale for Tailwind in the Tailwind colors tool

#0A172B 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)#0E192C0.010
Deuteranopia (no green cones)#0A152B0.007
Tritanopia (no blue cones)#001C1E0.039
Achromatopsia (no color)#1717170.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #0A172B

    #0A172B

    oklch(20.5% 0.044 258.7)

  • #211400

    #211400

    oklch(20.3% 0.042 78.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0A172B

    #0A172B

    oklch(20.5% 0.044 258.7)

  • #001A26

    #001A26

    oklch(20.4% 0.041 230.6)

  • #17132A

    #17132A

    oklch(20.5% 0.045 289.8)

Open the analogous palette in the generator

Split complementary

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

  • #0A172B

    #0A172B

    oklch(20.5% 0.044 258.7)

  • #271004

    #271004

    oklch(20.5% 0.045 48.8)

  • #191800

    #191800

    oklch(20.4% 0.044 107.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0A172B

    #0A172B

    oklch(20.5% 0.044 258.7)

  • #280E0F

    #280E0F

    oklch(20.5% 0.044 19.3)

  • #0C1C07

    #0C1C07

    oklch(20.6% 0.045 138.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0A172B

    #0A172B

    oklch(20.5% 0.044 258.7)

  • #250E1A

    #250E1A

    oklch(20.4% 0.043 349)

  • #211400

    #211400

    oklch(20.3% 0.042 78.8)

  • #001D14

    #001D14

    oklch(20.5% 0.041 169.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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