#080827

Closest named color: Midnight (#03012D). oklch(16% 0.062 276.7), rgb(8, 8, 39).

Aa

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

About this color

#080827 is a very dark, muted blue. In OKLCH its lightness is 16%, its chroma 0.062 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.032 away. White text reads best on it, at 19.54:1.

Hue familyBlues
Lightnessvery dark (16%)
Chromamuted (0.062)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.07:1
White text19.54:1

Values

HEX#080827
RGBrgb(8, 8, 39)
HSLhsl(240, 66%, 9%)
OKLCHoklch(16% 0.062 276.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 #080827 19.54:1 AAA Lc -107.5 Preferred for body text
Black text on #080827 1.07:1 Fails Lc 0.0 Not readable
#080827 text on white 19.54:1 AAA Lc 105.6 Preferred for body text
#080827 text on black 1.07: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

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D2D7F5

    oklch(88.5% 0.042 278)

  4. Step 300

    300

    #B4BDF1

    oklch(80.9% 0.074 277)

  5. Step 400

    400

    #8E99E9

    oklch(70.7% 0.117 277)

  6. Step 500

    500

    #737EE3

    oklch(63.1% 0.151 276.5)

  7. Step 600

    600

    #5D65D1

    oklch(55.6% 0.164 276.5)

  8. Step 700

    700

    #4D53B5

    oklch(49.1% 0.153 276.6)

  9. Step 800

    800

    #3F4492

    oklch(42.6% 0.126 276.8)

  10. Step 900

    900

    #353A75

    oklch(37.6% 0.1 276.8)

  11. Step 950

    950 (this color)

    #080827

    oklch(16% 0.062 276.7)

Export this scale for Tailwind in the Tailwind colors tool

#080827 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)#000D280.021
Deuteranopia (no green cones)#000B260.019
Tritanopia (no blue cones)#0010160.052
Achromatopsia (no color)#0C0C0C0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #080827

    #080827

    oklch(16% 0.062 276.7)

  • #110D00

    #110D00

    oklch(15.9% 0.033 97.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #080827

    #080827

    oklch(16% 0.062 276.7)

  • #000E1E

    #000E1E

    oklch(15.9% 0.042 247.3)

  • #140421

    #140421

    oklch(15.9% 0.062 307)

Open the analogous palette in the generator

Split complementary

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

  • #080827

    #080827

    oklch(16% 0.062 276.7)

  • #170A00

    #170A00

    oklch(16.1% 0.035 68.4)

  • #091000

    #091000

    oklch(16% 0.04 125.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #080827

    #080827

    oklch(16% 0.062 276.7)

  • #1F0300

    #1F0300

    oklch(15.9% 0.054 36.1)

  • #001207

    #001207

    oklch(16% 0.038 157.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #080827

    #080827

    oklch(16% 0.062 276.7)

  • #210009

    #210009

    oklch(15.9% 0.064 5.7)

  • #110D00

    #110D00

    oklch(15.9% 0.033 97.6)

  • #00110F

    #00110F

    oklch(16% 0.028 186.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #080827 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.