#080B1F#080B1F

#080B1F is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.0% C 0.042 H 274.0°. Best body text is #FFFFFF at 19.48:1 contrast (WCAG AA passes).

Color values

HEX#080B1F
RGBrgb(8, 11, 31)
HSLhsl(232, 59%, 8%)
HSVhsv(232, 74%, 12%)
CMYKcmyk(74.2%, 64.5%, 0%, 87.8%)
CIE-LABlab(3.52, 3.95, -12.59)
CIE-LCHlch(3.52, 13.20, 287.43°)
OKLaboklab(15.98% 0.0029 -0.0421)
OKLCHoklch(15.98% 0.042 274)
XYZxyz(0.4671, 0.3899, 1.3467)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080B1F #1F1C08
analogous
#08161F #080B1F #10081F
triadic
#080B1F #1F080B #0B1F08
tetradic
#080B1F #1F0816 #1F1C08 #081F10
square
#080B1F #1F0816 #1F1C08 #081F10
split-complementary
#080B1F #1F1008 #161F08
monochromatic
#060918 #060918 #080B1F #151C50 #212E80

Accessibility & contrast

On white

19.48
#080B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#080B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080B1F
19.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080B1F#FFFFFF#000000##FFFFFF
##080B1F1.0019.481.0819.48
#FFFFFF19.481.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040E20
Deuteranopia (green-blind)
#020C1F
Tritanopia (blue-blind)
#010F13
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #080b1f;
/* rgb */ color: rgb(8, 11, 31);
/* oklch */ color: oklch(16.0% 0.042 274.0);
Tailwind
colors: {
  custom: {
    50: '#4a4c5a',
    500: '#080b1f',
    950: '#000000',
  },
}
SCSS
$custom: #080b1f;
$custom-light: #4a4c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#080b1f",
  "rgb": {
    "r": 8,
    "g": 11,
    "b": 31
  },
  "hsl": {
    "h": 232.174,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.15978,
    "c": 0.04222,
    "h": 274
  },
  "luminance": 0.0039
}

Semantic roles & 50–950 ramp

primary
#080B1F
secondary
#5C5526
accent
#CE46E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #080B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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