#080F31#080F31

#080F31 is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.7% C 0.068 H 269.6°. Best body text is #FFFFFF at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#080F31
RGBrgb(8, 15, 49)
HSLhsl(230, 72%, 11%)
HSVhsv(230, 84%, 19%)
CMYKcmyk(83.7%, 69.4%, 0%, 80.8%)
CIE-LABlab(5.55, 9.86, -23.11)
CIE-LCHlch(5.55, 25.13, 293.11°)
OKLaboklab(18.75% -0.0004 -0.0681)
OKLCHoklch(18.75% 0.068 269.6)
XYZxyz(0.8252, 0.6149, 2.9803)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080F31 #312A08
analogous
#082331 #080F31 #150831
triadic
#080F31 #31080F #0F3108
tetradic
#080F31 #310823 #312A08 #083115
square
#080F31 #310823 #312A08 #083115
split-complementary
#080F31 #311508 #233108
monochromatic
#04081A #04081A #080F31 #111F66 #192F9A

Accessibility & contrast

On white

18.70
#080F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#080F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080F31
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080F31#FFFFFF#000000##FFFFFF
##080F311.0018.701.1218.70
#FFFFFF18.701.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001432
Deuteranopia (green-blind)
#001030
Tritanopia (blue-blind)
#00171E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #080f31;
/* rgb */ color: rgb(8, 15, 49);
/* oklch */ color: oklch(18.7% 0.068 269.6);
Tailwind
colors: {
  custom: {
    50: '#4d4d69',
    500: '#080f31',
    950: '#000000',
  },
}
SCSS
$custom: #080f31;
$custom-light: #4d4d69;
$custom-dark: #000000;
JSON
{
  "hex": "#080f31",
  "rgb": {
    "r": 8,
    "g": 15,
    "b": 49
  },
  "hsl": {
    "h": 229.756,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18749,
    "c": 0.06811,
    "h": 269.6
  },
  "luminance": 0.00615
}

Semantic roles & 50–950 ramp

primary
#080F31
secondary
#706325
accent
#D039EF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A

Preview Lab

Preview with #080F31

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

Preview Lab → · Contrast checker → · Palette generator →

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