#080C1D#080C1D

#080C1D is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.1% C 0.037 H 271.5°. Best body text is #FFFFFF at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#080C1D
RGBrgb(8, 12, 29)
HSLhsl(229, 57%, 7%)
HSVhsv(229, 72%, 11%)
CMYKcmyk(72.4%, 58.6%, 0%, 88.6%)
CIE-LABlab(3.64, 2.87, -10.84)
CIE-LCHlch(3.64, 11.21, 284.83°)
OKLaboklab(16.08% 0.0009 -0.0365)
OKLCHoklch(16.08% 0.037 271.5)
XYZxyz(0.4533, 0.4032, 1.2161)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C1D #1D1908
analogous
#08171D #080C1D #0F081D
triadic
#080C1D #1D080C #0C1D08
tetradic
#080C1D #1D0817 #1D1908 #081D0F
square
#080C1D #1D0817 #1D1908 #081D0F
split-complementary
#080C1D #1D0F08 #171D08
monochromatic
#070A18 #070A18 #080C1D #15204D #22347D

Accessibility & contrast

On white

19.43
#080C1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C1D
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C1D#FFFFFF#000000##FFFFFF
##080C1D1.0019.431.0819.43
#FFFFFF19.431.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060E1E
Deuteranopia (green-blind)
#040C1D
Tritanopia (blue-blind)
#021013
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #080c1d;
/* rgb */ color: rgb(8, 12, 29);
/* oklch */ color: oklch(16.1% 0.037 271.5);
Tailwind
colors: {
  custom: {
    50: '#4a4c58',
    500: '#080c1d',
    950: '#000000',
  },
}
SCSS
$custom: #080c1d;
$custom-light: #4a4c58;
$custom-dark: #000000;
JSON
{
  "hex": "#080c1d",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 29
  },
  "hsl": {
    "h": 228.571,
    "s": 56.757,
    "l": 7.255
  },
  "oklch": {
    "l": 0.16084,
    "c": 0.03654,
    "h": 271.5
  },
  "luminance": 0.00403
}

Semantic roles & 50–950 ramp

primary
#080C1D
secondary
#5A5027
accent
#C348E0
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #080C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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