#081827#081827

#081827 is a very dark, muted cyan. Relative luminance 0.009; OKLCH L 20.4% C 0.037 H 248.6°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#081827
RGBrgb(8, 24, 39)
HSLhsl(209, 66%, 9%)
HSVhsv(209, 79%, 15%)
CMYKcmyk(79.5%, 38.5%, 0%, 84.7%)
CIE-LABlab(7.69, -0.67, -12.29)
CIE-LCHlch(7.69, 12.31, 266.88°)
OKLaboklab(20.37% -0.0136 -0.0347)
OKLCHoklch(20.37% 0.037 248.6)
XYZxyz(0.7928, 0.8513, 2.0416)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081827 #271708
analogous
#082727 #081827 #080927
triadic
#081827 #270818 #182708
tetradic
#081827 #270827 #271708 #092708
square
#081827 #270827 #271708 #092708
split-complementary
#081827 #270809 #272708
monochromatic
#051019 #051019 #081827 #12375A #1D578D

Accessibility & contrast

On white

17.95
#081827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#081827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081827
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081827#FFFFFF#000000##FFFFFF
##0818271.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121928
Deuteranopia (green-blind)
#0D1627
Tritanopia (blue-blind)
#001C1D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #081827;
/* rgb */ color: rgb(8, 24, 39);
/* oklch */ color: oklch(20.4% 0.037 248.6);
Tailwind
colors: {
  custom: {
    50: '#4b5461',
    500: '#081827',
    950: '#000000',
  },
}
SCSS
$custom: #081827;
$custom-light: #4b5461;
$custom-dark: #000000;
JSON
{
  "hex": "#081827",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 39
  },
  "hsl": {
    "h": 209.032,
    "s": 65.957,
    "l": 9.216
  },
  "oklch": {
    "l": 0.20367,
    "c": 0.03728,
    "h": 248.6
  },
  "luminance": 0.00851
}

Semantic roles & 50–950 ramp

primary
#081827
secondary
#654425
accent
#913FE9
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010205
muted
#777879

Preview Lab

Preview with #081827

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#081827 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva