#080D1F#080D1F

#080D1F is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.5% C 0.039 H 269.8°. Best body text is #FFFFFF at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#080D1F
RGBrgb(8, 13, 31)
HSLhsl(227, 59%, 8%)
HSVhsv(227, 74%, 12%)
CMYKcmyk(74.2%, 58.1%, 0%, 87.8%)
CIE-LABlab(3.96, 3.06, -11.93)
CIE-LCHlch(3.96, 12.32, 284.37°)
OKLaboklab(16.53% -0.0001 -0.0387)
OKLCHoklch(16.53% 0.039 269.8)
XYZxyz(0.4913, 0.4384, 1.3548)
Luminance0.0044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080D1F #1F1A08
analogous
#08181F #080D1F #0F081F
triadic
#080D1F #1F080D #0D1F08
tetradic
#080D1F #1F0818 #1F1A08 #081F0F
square
#080D1F #1F0818 #1F1A08 #081F0F
split-complementary
#080D1F #1F0F08 #181F08
monochromatic
#060A18 #060A18 #080D1F #152150 #213680

Accessibility & contrast

On white

19.31
#080D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#080D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080D1F
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080D1F#FFFFFF#000000##FFFFFF
##080D1F1.0019.311.0919.31
#FFFFFF19.311.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060F20
Deuteranopia (green-blind)
#040D1F
Tritanopia (blue-blind)
#011114
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #080d1f;
/* rgb */ color: rgb(8, 13, 31);
/* oklch */ color: oklch(16.5% 0.039 269.8);
Tailwind
colors: {
  custom: {
    50: '#4a4d5a',
    500: '#080d1f',
    950: '#000000',
  },
}
SCSS
$custom: #080d1f;
$custom-light: #4a4d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#080d1f",
  "rgb": {
    "r": 8,
    "g": 13,
    "b": 31
  },
  "hsl": {
    "h": 226.957,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.16533,
    "c": 0.03869,
    "h": 269.8
  },
  "luminance": 0.00438
}

Semantic roles & 50–950 ramp

primary
#080D1F
secondary
#5C5126
accent
#C046E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #080D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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