#080C1F#080C1F

#080C1F is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.3% C 0.040 H 272.0°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).

Color values

HEX#080C1F
RGBrgb(8, 12, 31)
HSLhsl(230, 59%, 8%)
HSVhsv(230, 74%, 12%)
CMYKcmyk(74.2%, 61.3%, 0%, 87.8%)
CIE-LABlab(3.74, 3.52, -12.27)
CIE-LCHlch(3.74, 12.77, 286.00°)
OKLaboklab(16.25% 0.0014 -0.0404)
OKLCHoklch(16.25% 0.04 272)
XYZxyz(0.4789, 0.4135, 1.3506)
Luminance0.0041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C1F #1F1B08
analogous
#08171F #080C1F #0F081F
triadic
#080C1F #1F080C #0C1F08
tetradic
#080C1F #1F0817 #1F1B08 #081F0F
square
#080C1F #1F0817 #1F1B08 #081F0F
split-complementary
#080C1F #1F0F08 #171F08
monochromatic
#060918 #060918 #080C1F #151F50 #213280

Accessibility & contrast

On white

19.40
#080C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C1F
19.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C1F#FFFFFF#000000##FFFFFF
##080C1F1.0019.401.0819.40
#FFFFFF19.401.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050E20
Deuteranopia (green-blind)
#030C1F
Tritanopia (blue-blind)
#011013
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #080c1f;
/* rgb */ color: rgb(8, 12, 31);
/* oklch */ color: oklch(16.3% 0.040 272.0);
Tailwind
colors: {
  custom: {
    50: '#4a4c5a',
    500: '#080c1f',
    950: '#000000',
  },
}
SCSS
$custom: #080c1f;
$custom-light: #4a4c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#080c1f",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 31
  },
  "hsl": {
    "h": 229.565,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.16252,
    "c": 0.04043,
    "h": 272
  },
  "luminance": 0.00413
}

Semantic roles & 50–950 ramp

primary
#080C1F
secondary
#5C5326
accent
#C746E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #080C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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