#08112F

Closest named color: Rich Black (#0D1B2A). oklch(19.1% 0.061 267.5), rgb(8, 17, 47).

Aa

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

About this color

#08112F is a very dark, muted blue. In OKLCH its lightness is 19%, its chroma 0.061 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.040 away. White text reads best on it, at 18.55:1.

Hue familyBlues
Lightnessvery dark (19%)
Chromamuted (0.061)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.13:1
White text18.55:1

Values

HEX#08112F
RGBrgb(8, 17, 47)
HSLhsl(226, 71%, 11%)
OKLCHoklch(19.1% 0.061 267.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 #08112F 18.55:1 AAA Lc -107.1 Preferred for body text
Black text on #08112F 1.13:1 Fails Lc 0.0 Not readable
#08112F text on white 18.55:1 AAA Lc 105.0 Preferred for body text
#08112F text on black 1.13: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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E4EAF9

    oklch(93.7% 0.021 268.4)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ACC0F1

    oklch(81% 0.073 267.4)

  5. Step 400

    400

    #819EEA

    oklch(70.8% 0.116 267.5)

  6. Step 500

    500

    #6283E3

    oklch(63% 0.149 267.7)

  7. Step 600

    600

    #4A6BD1

    oklch(55.7% 0.162 267.5)

  8. Step 700

    700

    #3B58B5

    oklch(49% 0.151 267.5)

  9. Step 800

    800

    #314992

    oklch(42.7% 0.124 267.3)

  10. Step 900

    900

    #2B3E75

    oklch(37.8% 0.097 267.3)

  11. Step 950

    950 (this color)

    #08112F

    oklch(19.1% 0.061 267.5)

Export this scale for Tailwind in the Tailwind colors tool

#08112F 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)#0115300.015
Deuteranopia (no green cones)#00112E0.014
Tritanopia (no blue cones)#00181D0.050
Achromatopsia (no color)#1313130.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #08112F

    #08112F

    oklch(19.1% 0.061 267.5)

  • #1B1200

    #1B1200

    oklch(18.9% 0.039 86.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08112F

    #08112F

    oklch(19.1% 0.061 267.5)

  • #001624

    #001624

    oklch(19% 0.042 237.5)

  • #180C2B

    #180C2B

    oklch(19.1% 0.061 298.3)

Open the analogous palette in the generator

Split complementary

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

  • #08112F

    #08112F

    oklch(19.1% 0.061 267.5)

  • #230E00

    #230E00

    oklch(19.2% 0.046 58.2)

  • #121600

    #121600

    oklch(18.9% 0.044 118)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08112F

    #08112F

    oklch(19.1% 0.061 267.5)

  • #2A0504

    #2A0504

    oklch(19% 0.063 27.4)

  • #001A04

    #001A04

    oklch(19% 0.056 147)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08112F

    #08112F

    oklch(19.1% 0.061 267.5)

  • #280514

    #280514

    oklch(19.1% 0.062 357.7)

  • #1B1200

    #1B1200

    oklch(18.9% 0.039 86.5)

  • #001914

    #001914

    oklch(19.1% 0.035 178.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #08112F 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.