#080C1A#080C1A

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

Color values

HEX#080C1A
RGBrgb(8, 12, 26)
HSLhsl(227, 53%, 7%)
HSVhsv(227, 69%, 10%)
CMYKcmyk(69.2%, 53.8%, 0%, 89.8%)
CIE-LABlab(3.51, 1.97, -8.65)
CIE-LCHlch(3.51, 8.88, 282.84°)
OKLaboklab(15.85% 0.0001 -0.0306)
OKLCHoklch(15.85% 0.031 270.2)
XYZxyz(0.4180, 0.3891, 1.0302)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C1A #1A1608
analogous
#08151A #080C1A #0D081A
triadic
#080C1A #1A080C #0C1A08
tetradic
#080C1A #1A0815 #1A1608 #081A0D
square
#080C1A #1A0815 #1A1608 #081A0D
split-complementary
#080C1A #1A0D08 #151A08
monochromatic
#070B17 #070B17 #080C1A #162249 #253778

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##080C1A#FFFFFF#000000##FFFFFF
##080C1A1.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)
#070D1B
Deuteranopia (green-blind)
#060C1A
Tritanopia (blue-blind)
#030F11
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #080c1a;
/* rgb */ color: rgb(8, 12, 26);
/* oklch */ color: oklch(15.8% 0.031 270.2);
Tailwind
colors: {
  custom: {
    50: '#4a4c56',
    500: '#080c1a',
    950: '#000000',
  },
}
SCSS
$custom: #080c1a;
$custom-light: #4a4c56;
$custom-dark: #000000;
JSON
{
  "hex": "#080c1a",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 26
  },
  "hsl": {
    "h": 226.667,
    "s": 52.941,
    "l": 6.667
  },
  "oklch": {
    "l": 0.15845,
    "c": 0.0306,
    "h": 270.2
  },
  "luminance": 0.00389
}

Semantic roles & 50–950 ramp

primary
#080C1A
secondary
#564C28
accent
#BC4BDC
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #080C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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