#080C1C#080C1C

#080C1C is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.0% C 0.035 H 271.1°. Best body text is #FFFFFF at 19.45:1 contrast (WCAG AA passes).

Color values

HEX#080C1C
RGBrgb(8, 12, 28)
HSLhsl(228, 56%, 7%)
HSVhsv(228, 71%, 11%)
CMYKcmyk(71.4%, 57.1%, 0%, 89%)
CIE-LABlab(3.60, 2.56, -10.12)
CIE-LCHlch(3.60, 10.43, 284.19°)
OKLaboklab(16% 0.0007 -0.0346)
OKLCHoklch(16% 0.035 271.1)
XYZxyz(0.4411, 0.3984, 1.1520)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C1C #1C1808
analogous
#08161C #080C1C #0E081C
triadic
#080C1C #1C080C #0C1C08
tetradic
#080C1C #1C0816 #1C1808 #081C0E
square
#080C1C #1C0816 #1C1808 #081C0E
split-complementary
#080C1C #1C0E08 #161C08
monochromatic
#070A18 #070A18 #080C1C #16204C #23357B

Accessibility & contrast

On white

19.45
#080C1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C1C
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C1C#FFFFFF#000000##FFFFFF
##080C1C1.0019.451.0819.45
#FFFFFF19.451.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060E1D
Deuteranopia (green-blind)
#050C1C
Tritanopia (blue-blind)
#020F12
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #080c1c;
/* rgb */ color: rgb(8, 12, 28);
/* oklch */ color: oklch(16.0% 0.035 271.1);
Tailwind
colors: {
  custom: {
    50: '#4a4c58',
    500: '#080c1c',
    950: '#000000',
  },
}
SCSS
$custom: #080c1c;
$custom-light: #4a4c58;
$custom-dark: #000000;
JSON
{
  "hex": "#080c1c",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 28
  },
  "hsl": {
    "h": 228,
    "s": 55.556,
    "l": 7.059
  },
  "oklch": {
    "l": 0.16003,
    "c": 0.03458,
    "h": 271.1
  },
  "luminance": 0.00398
}

Semantic roles & 50–950 ramp

primary
#080C1C
secondary
#594F27
accent
#C149DF
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #080C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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