#081031#081031

#081031 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.067 H 268.8°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#081031
RGBrgb(8, 16, 49)
HSLhsl(228, 72%, 11%)
HSVhsv(228, 84%, 19%)
CMYKcmyk(83.7%, 67.3%, 0%, 80.8%)
CIE-LABlab(5.82, 9.32, -22.69)
CIE-LCHlch(5.82, 24.53, 292.33°)
OKLaboklab(18.99% -0.0014 -0.0665)
OKLCHoklch(18.99% 0.067 268.8)
XYZxyz(0.8396, 0.6439, 2.9852)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081031 #312908
analogous
#082431 #081031 #140831
triadic
#081031 #310810 #103108
tetradic
#081031 #310824 #312908 #083114
square
#081031 #310824 #312908 #083114
split-complementary
#081031 #311408 #243108
monochromatic
#04091A #04091A #081031 #112166 #19329A

Accessibility & contrast

On white

18.60
#081031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#081031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081031
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081031#FFFFFF#000000##FFFFFF
##0810311.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#001130
Tritanopia (blue-blind)
#00181E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #081031;
/* rgb */ color: rgb(8, 16, 49);
/* oklch */ color: oklch(19.0% 0.067 268.8);
Tailwind
colors: {
  custom: {
    50: '#4d4e69',
    500: '#081031',
    950: '#000000',
  },
}
SCSS
$custom: #081031;
$custom-light: #4d4e69;
$custom-dark: #000000;
JSON
{
  "hex": "#081031",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 228.293,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18994,
    "c": 0.06655,
    "h": 268.8
  },
  "luminance": 0.00644
}

Semantic roles & 50–950 ramp

primary
#081031
secondary
#706125
accent
#CB39EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #081031

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

Preview Lab → · Contrast checker → · Palette generator →

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