#081131#081131

#081131 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.2% C 0.065 H 267.8°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#081131
RGBrgb(8, 17, 49)
HSLhsl(227, 72%, 11%)
HSVhsv(227, 84%, 19%)
CMYKcmyk(83.7%, 65.3%, 0%, 80.8%)
CIE-LABlab(6.09, 8.76, -22.25)
CIE-LCHlch(6.09, 23.92, 291.49°)
OKLaboklab(19.25% -0.0025 -0.0649)
OKLCHoklch(19.25% 0.065 267.8)
XYZxyz(0.8548, 0.6742, 2.9902)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081131 #312808
analogous
#082531 #081131 #130831
triadic
#081131 #310811 #113108
tetradic
#081131 #310825 #312808 #083113
square
#081131 #310825 #312808 #083113
split-complementary
#081131 #311308 #253108
monochromatic
#04091A #04091A #081131 #112366 #19369A

Accessibility & contrast

On white

18.51
#081131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #081131
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081131#FFFFFF#000000##FFFFFF
##0811311.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #081131;
/* rgb */ color: rgb(8, 17, 49);
/* oklch */ color: oklch(19.2% 0.065 267.8);
Tailwind
colors: {
  custom: {
    50: '#4d4e69',
    500: '#081131',
    950: '#000000',
  },
}
SCSS
$custom: #081131;
$custom-light: #4d4e69;
$custom-dark: #000000;
JSON
{
  "hex": "#081131",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 226.829,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19245,
    "c": 0.06497,
    "h": 267.8
  },
  "luminance": 0.00674
}

Semantic roles & 50–950 ramp

primary
#081131
secondary
#705F25
accent
#C739EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #081131

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

Preview Lab → · Contrast checker → · Palette generator →

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