#080C1E#080C1E

#080C1E is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.2% C 0.038 H 271.8°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#080C1E
RGBrgb(8, 12, 30)
HSLhsl(229, 58%, 7%)
HSVhsv(229, 73%, 12%)
CMYKcmyk(73.3%, 60%, 0%, 88.2%)
CIE-LABlab(3.69, 3.19, -11.56)
CIE-LCHlch(3.69, 11.99, 285.42°)
OKLaboklab(16.17% 0.0012 -0.0385)
OKLCHoklch(16.17% 0.039 271.8)
XYZxyz(0.4659, 0.4083, 1.2823)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C1E #1E1A08
analogous
#08171E #080C1E #0F081E
triadic
#080C1E #1E080C #0C1E08
tetradic
#080C1E #1E0817 #1E1A08 #081E0F
square
#080C1E #1E0817 #1E1A08 #081E0F
split-complementary
#080C1E #1E0F08 #171E08
monochromatic
#060A18 #060A18 #080C1E #151F4E #22337F

Accessibility & contrast

On white

19.42
#080C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C1E
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C1E#FFFFFF#000000##FFFFFF
##080C1E1.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050E1F
Deuteranopia (green-blind)
#040C1E
Tritanopia (blue-blind)
#011013
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #080c1e;
/* rgb */ color: rgb(8, 12, 30);
/* oklch */ color: oklch(16.2% 0.038 271.8);
Tailwind
colors: {
  custom: {
    50: '#4a4c59',
    500: '#080c1e',
    950: '#000000',
  },
}
SCSS
$custom: #080c1e;
$custom-light: #4a4c59;
$custom-dark: #000000;
JSON
{
  "hex": "#080c1e",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 30
  },
  "hsl": {
    "h": 229.091,
    "s": 57.895,
    "l": 7.451
  },
  "oklch": {
    "l": 0.16167,
    "c": 0.0385,
    "h": 271.8
  },
  "luminance": 0.00408
}

Semantic roles & 50–950 ramp

primary
#080C1E
secondary
#5B5227
accent
#C547E1
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #080C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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