#081831#081831

#081831 is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.1% C 0.054 H 258.9°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#081831
RGBrgb(8, 24, 49)
HSLhsl(217, 72%, 11%)
HSVhsv(217, 84%, 19%)
CMYKcmyk(83.7%, 51%, 0%, 80.8%)
CIE-LABlab(8.36, 3.85, -18.62)
CIE-LCHlch(8.36, 19.01, 281.68°)
OKLaboklab(21.12% -0.0104 -0.0532)
OKLCHoklch(21.12% 0.054 258.9)
XYZxyz(0.9810, 0.9265, 3.0323)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081831 #312108
analogous
#082C31 #081831 #0C0831
triadic
#081831 #310818 #183108
tetradic
#081831 #31082C #312108 #08310C
square
#081831 #31082C #312108 #08310C
split-complementary
#081831 #310C08 #2C3108
monochromatic
#040D1A #040D1A #081831 #113266 #194C9A

Accessibility & contrast

On white

17.72
#081831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#081831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081831
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081831#FFFFFF#000000##FFFFFF
##0818311.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1A32
Deuteranopia (green-blind)
#061630
Tritanopia (blue-blind)
#001E22
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #081831;
/* rgb */ color: rgb(8, 24, 49);
/* oklch */ color: oklch(21.1% 0.054 258.9);
Tailwind
colors: {
  custom: {
    50: '#4d5469',
    500: '#081831',
    950: '#000000',
  },
}
SCSS
$custom: #081831;
$custom-light: #4d5469;
$custom-dark: #000000;
JSON
{
  "hex": "#081831",
  "rgb": {
    "r": 8,
    "g": 24,
    "b": 49
  },
  "hsl": {
    "h": 216.585,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21117,
    "c": 0.05419,
    "h": 258.9
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#081831
secondary
#705325
accent
#A839EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #081831

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

Preview Lab → · Contrast checker → · Palette generator →

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