#081531#081531

#081531 is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.3% C 0.059 H 263.2°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#081531
RGBrgb(8, 21, 49)
HSLhsl(221, 72%, 11%)
HSVhsv(221, 84%, 19%)
CMYKcmyk(83.7%, 57.1%, 0%, 80.8%)
CIE-LABlab(7.31, 6.17, -20.30)
CIE-LCHlch(7.31, 21.21, 286.90°)
OKLaboklab(20.29% -0.0069 -0.0583)
OKLCHoklch(20.29% 0.059 263.2)
XYZxyz(0.9225, 0.8096, 3.0128)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081531 #312408
analogous
#082931 #081531 #0F0831
triadic
#081531 #310815 #153108
tetradic
#081531 #310829 #312408 #08310F
square
#081531 #310829 #312408 #08310F
split-complementary
#081531 #310F08 #293108
monochromatic
#040B1A #040B1A #081531 #112C66 #19429A

Accessibility & contrast

On white

18.07
#081531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#081531 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081531
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081531#FFFFFF#000000##FFFFFF
##0815311.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061832
Deuteranopia (green-blind)
#011430
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #081531;
/* rgb */ color: rgb(8, 21, 49);
/* oklch */ color: oklch(20.3% 0.059 263.2);
Tailwind
colors: {
  custom: {
    50: '#4d5169',
    500: '#081531',
    950: '#000000',
  },
}
SCSS
$custom: #081531;
$custom-light: #4d5169;
$custom-dark: #000000;
JSON
{
  "hex": "#081531",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 49
  },
  "hsl": {
    "h": 220.976,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20292,
    "c": 0.0587,
    "h": 263.2
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#081531
secondary
#705825
accent
#B539EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A

Preview Lab

Preview with #081531

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

Preview Lab → · Contrast checker → · Palette generator →

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