#08102C

Closest named color: Rich Black (#0D1B2A). oklch(18.5% 0.058 268.1), rgb(8, 16, 44).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (19%)
Chromamuted (0.058)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.12:1
White text18.73:1

Values

HEX#08102C
RGBrgb(8, 16, 44)
HSLhsl(227, 69%, 10%)
OKLCHoklch(18.5% 0.058 268.1)

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 #08102C 18.73:1 AAA Lc -107.2 Preferred for body text
Black text on #08102C 1.12:1 Fails Lc 0.0 Not readable
#08102C text on white 18.73:1 AAA Lc 105.1 Preferred for body text
#08102C text on black 1.12: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CED9F3

    oklch(88.5% 0.038 267.3)

  4. Step 300

    300

    #AEC0EE

    oklch(81% 0.068 268.2)

  5. Step 400

    400

    #839EE5

    oklch(70.7% 0.109 267.7)

  6. Step 500

    500

    #6584DE

    oklch(63.1% 0.14 267.9)

  7. Step 600

    600

    #4E6CCB

    oklch(55.7% 0.151 268.1)

  8. Step 700

    700

    #3F59B0

    oklch(49.1% 0.142 268.3)

  9. Step 800

    800

    #34498E

    oklch(42.6% 0.117 268.4)

  10. Step 900

    900

    #2D3E72

    oklch(37.7% 0.092 268.2)

  11. Step 950

    950 (this color)

    #08102C

    oklch(18.5% 0.058 268.1)

Export this scale for Tailwind in the Tailwind colors tool

#08102C 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)#02142D0.015
Deuteranopia (no green cones)#00102B0.015
Tritanopia (no blue cones)#00171B0.049
Achromatopsia (no color)#1212120.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #08102C

    #08102C

    oklch(18.5% 0.058 268.1)

  • #1A1100

    #1A1100

    oklch(18.4% 0.038 85.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #08102C

    #08102C

    oklch(18.5% 0.058 268.1)

  • #001523

    #001523

    oklch(18.6% 0.041 238.2)

  • #160B28

    #160B28

    oklch(18.4% 0.057 298)

Open the analogous palette in the generator

Split complementary

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

  • #08102C

    #08102C

    oklch(18.5% 0.058 268.1)

  • #210D00

    #210D00

    oklch(18.6% 0.044 58.6)

  • #111500

    #111500

    oklch(18.5% 0.043 118.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #08102C

    #08102C

    oklch(18.5% 0.058 268.1)

  • #270604

    #270604

    oklch(18.5% 0.057 28.9)

  • #001905

    #001905

    oklch(18.6% 0.053 148.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #08102C

    #08102C

    oklch(18.5% 0.058 268.1)

  • #250512

    #250512

    oklch(18.4% 0.058 358.5)

  • #1A1100

    #1A1100

    oklch(18.4% 0.038 85.8)

  • #001813

    #001813

    oklch(18.7% 0.034 177.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #08102C 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.