#080D31#080D31

#080D31 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.3% C 0.071 H 271.2°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#080D31
RGBrgb(8, 13, 49)
HSLhsl(233, 72%, 11%)
HSVhsv(233, 84%, 19%)
CMYKcmyk(83.7%, 73.5%, 0%, 80.8%)
CIE-LABlab(5.07, 10.86, -23.89)
CIE-LCHlch(5.07, 26.24, 294.44°)
OKLaboklab(18.27% 0.0015 -0.0712)
OKLCHoklch(18.27% 0.071 271.2)
XYZxyz(0.7983, 0.5611, 2.9714)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080D31 #312C08
analogous
#082131 #080D31 #170831
triadic
#080D31 #31080D #0D3108
tetradic
#080D31 #310821 #312C08 #083117
square
#080D31 #310821 #312C08 #083117
split-complementary
#080D31 #311708 #213108
monochromatic
#04071A #04071A #080D31 #111B66 #19299A

Accessibility & contrast

On white

18.88
#080D31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#080D31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080D31
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080D31#FFFFFF#000000##FFFFFF
##080D311.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001332
Deuteranopia (green-blind)
#000F30
Tritanopia (blue-blind)
#00161D
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #080d31;
/* rgb */ color: rgb(8, 13, 49);
/* oklch */ color: oklch(18.3% 0.071 271.2);
Tailwind
colors: {
  custom: {
    50: '#4d4c69',
    500: '#080d31',
    950: '#000000',
  },
}
SCSS
$custom: #080d31;
$custom-light: #4d4c69;
$custom-dark: #000000;
JSON
{
  "hex": "#080d31",
  "rgb": {
    "r": 8,
    "g": 13,
    "b": 49
  },
  "hsl": {
    "h": 232.683,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18274,
    "c": 0.07122,
    "h": 271.2
  },
  "luminance": 0.00561
}

Semantic roles & 50–950 ramp

primary
#080D31
secondary
#706725
accent
#D939EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #080D31

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

Preview Lab → · Contrast checker → · Palette generator →

#080D31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva