#0A1F2C

Closest named color: Rich Black (#0D1B2A). oklch(22.9% 0.037 238.5), rgb(10, 31, 44).

Aa

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

About this color

#0A1F2C is a very dark, muted blue. In OKLCH its lightness is 23%, its chroma 0.037 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.014 away. White text reads best on it, at 16.86:1.

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.037)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.24:1
White text16.86:1

Values

HEX#0A1F2C
RGBrgb(10, 31, 44)
HSLhsl(203, 63%, 11%)
OKLCHoklch(22.9% 0.037 238.5)

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 #0A1F2C 16.86:1 AAA Lc -106.1 Preferred for body text
Black text on #0A1F2C 1.24:1 Fails Lc 0.0 Not readable
#0A1F2C text on white 16.86:1 AAA Lc 103.7 Preferred for body text
#0A1F2C text on black 1.24: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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2EBF1

    oklch(93.5% 0.013 236.6)

  3. Step 200

    200

    #CBDCE8

    oklch(88.5% 0.025 238.4)

  4. Step 300

    300

    #A7C5DA

    oklch(80.8% 0.044 238.6)

  5. Step 400

    400

    #77A7C8

    oklch(70.6% 0.071 239.1)

  6. Step 500

    500

    #5291B9

    oklch(63.1% 0.089 238.2)

  7. Step 600

    600

    #337BA6

    oklch(55.7% 0.098 238.4)

  8. Step 700

    700

    #25678E

    oklch(49% 0.091 238.7)

  9. Step 800

    800

    #215473

    oklch(42.6% 0.075 238.8)

  10. Step 900

    900

    #21465D

    oklch(37.8% 0.058 238.2)

  11. Step 950

    950 (this color)

    #0A1F2C

    oklch(22.9% 0.037 238.5)

Export this scale for Tailwind in the Tailwind colors tool

#0A1F2C 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)#191F2D0.021
Deuteranopia (no green cones)#141B2C0.018
Tritanopia (no blue cones)#0022230.026
Achromatopsia (no color)#1D1D1D0.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #0A1F2C

    #0A1F2C

    oklch(22.9% 0.037 238.5)

  • #2A180A

    #2A180A

    oklch(23% 0.038 57.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0A1F2C

    #0A1F2C

    oklch(22.9% 0.037 238.5)

  • #022126

    #022126

    oklch(22.8% 0.037 210)

  • #151C2E

    #151C2E

    oklch(22.9% 0.037 267.3)

Open the analogous palette in the generator

Split complementary

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

  • #0A1F2C

    #0A1F2C

    oklch(22.9% 0.037 238.5)

  • #2C1613

    #2C1613

    oklch(23% 0.037 28.5)

  • #241C06

    #241C06

    oklch(23% 0.038 89.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0A1F2C

    #0A1F2C

    oklch(22.9% 0.037 238.5)

  • #2B151C

    #2B151C

    oklch(22.9% 0.037 0)

  • #1B1F0A

    #1B1F0A

    oklch(22.9% 0.037 118.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0A1F2C

    #0A1F2C

    oklch(22.9% 0.037 238.5)

  • #261625

    #261625

    oklch(22.8% 0.037 328.9)

  • #2A180A

    #2A180A

    oklch(23% 0.038 57.3)

  • #102113

    #102113

    oklch(22.8% 0.035 148.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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