#080A1F#080A1F

#080A1F is a very dark, muted blue. Relative luminance 0.004; OKLCH L 15.7% C 0.044 H 275.7°. Best body text is #FFFFFF at 19.56:1 contrast (WCAG AA passes).

Color values

HEX#080A1F
RGBrgb(8, 10, 31)
HSLhsl(235, 59%, 8%)
HSVhsv(235, 74%, 12%)
CMYKcmyk(74.2%, 67.7%, 0%, 87.8%)
CIE-LABlab(3.32, 4.36, -12.90)
CIE-LCHlch(3.32, 13.62, 288.69°)
OKLaboklab(15.71% 0.0044 -0.0438)
OKLCHoklch(15.71% 0.044 275.7)
XYZxyz(0.4559, 0.3676, 1.3430)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080A1F #1F1D08
analogous
#08151F #080A1F #12081F
triadic
#080A1F #1F080A #0A1F08
tetradic
#080A1F #1F0815 #1F1D08 #081F12
square
#080A1F #1F0815 #1F1D08 #081F12
split-complementary
#080A1F #1F1208 #151F08
monochromatic
#060818 #060818 #080A1F #151A50 #212980

Accessibility & contrast

On white

19.56
#080A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#080A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080A1F
19.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080A1F#FFFFFF#000000##FFFFFF
##080A1F1.0019.561.0719.56
#FFFFFF19.561.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020D20
Deuteranopia (green-blind)
#010B1F
Tritanopia (blue-blind)
#010F12
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #080a1f;
/* rgb */ color: rgb(8, 10, 31);
/* oklch */ color: oklch(15.7% 0.044 275.7);
Tailwind
colors: {
  custom: {
    50: '#4a4b5a',
    500: '#080a1f',
    950: '#000000',
  },
}
SCSS
$custom: #080a1f;
$custom-light: #4a4b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#080a1f",
  "rgb": {
    "r": 8,
    "g": 10,
    "b": 31
  },
  "hsl": {
    "h": 234.783,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.1571,
    "c": 0.04403,
    "h": 275.7
  },
  "luminance": 0.00368
}

Semantic roles & 50–950 ramp

primary
#080A1F
secondary
#5C5826
accent
#D546E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #080A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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