#080C1B#080C1B

#080C1B is a very dark, muted blue. Relative luminance 0.004; OKLCH L 15.9% C 0.033 H 270.7°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#080C1B
RGBrgb(8, 12, 27)
HSLhsl(227, 54%, 7%)
HSVhsv(227, 70%, 11%)
CMYKcmyk(70.4%, 55.6%, 0%, 89.4%)
CIE-LABlab(3.56, 2.26, -9.39)
CIE-LCHlch(3.56, 9.66, 283.54°)
OKLaboklab(15.92% 0.0004 -0.0326)
OKLCHoklch(15.92% 0.033 270.7)
XYZxyz(0.4294, 0.3937, 1.0901)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080C1B #1B1708
analogous
#08161B #080C1B #0E081B
triadic
#080C1B #1B080C #0C1B08
tetradic
#080C1B #1B0816 #1B1708 #081B0E
square
#080C1B #1B0816 #1B1708 #081B0E
split-complementary
#080C1B #1B0E08 #161B08
monochromatic
#070A18 #070A18 #080C1B #16214A #243679

Accessibility & contrast

On white

19.47
#080C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080C1B
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080C1B#FFFFFF#000000##FFFFFF
##080C1B1.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070E1C
Deuteranopia (green-blind)
#050C1B
Tritanopia (blue-blind)
#030F12
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #080c1b;
/* rgb */ color: rgb(8, 12, 27);
/* oklch */ color: oklch(15.9% 0.033 270.7);
Tailwind
colors: {
  custom: {
    50: '#4a4c57',
    500: '#080c1b',
    950: '#000000',
  },
}
SCSS
$custom: #080c1b;
$custom-light: #4a4c57;
$custom-dark: #000000;
JSON
{
  "hex": "#080c1b",
  "rgb": {
    "r": 8,
    "g": 12,
    "b": 27
  },
  "hsl": {
    "h": 227.368,
    "s": 54.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.15923,
    "c": 0.03259,
    "h": 270.7
  },
  "luminance": 0.00394
}

Semantic roles & 50–950 ramp

primary
#080C1B
secondary
#574D27
accent
#BF4ADE
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #080C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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