#081220#081220

#081220 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.1% C 0.033 H 256.7°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#081220
RGBrgb(8, 18, 32)
HSLhsl(215, 60%, 8%)
HSVhsv(215, 75%, 13%)
CMYKcmyk(75%, 43.8%, 0%, 87.5%)
CIE-LABlab(5.32, 0.73, -10.65)
CIE-LCHlch(5.32, 10.67, 273.91°)
OKLaboklab(18.07% -0.0075 -0.0319)
OKLCHoklch(18.07% 0.033 256.7)
XYZxyz(0.5771, 0.5885, 1.4494)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081220 #201608
analogous
#081E20 #081220 #0A0820
triadic
#081220 #200812 #122008
tetradic
#081220 #20081E #201608 #08200A
square
#081220 #20081E #201608 #08200A
split-complementary
#081220 #200A08 #1E2008
monochromatic
#060E18 #060E18 #081220 #142E51 #204982

Accessibility & contrast

On white

18.79
#081220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#081220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081220
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081220#FFFFFF#000000##FFFFFF
##0812201.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1321
Deuteranopia (green-blind)
#091120
Tritanopia (blue-blind)
#001517
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #081220;
/* rgb */ color: rgb(8, 18, 32);
/* oklch */ color: oklch(18.1% 0.033 256.7);
Tailwind
colors: {
  custom: {
    50: '#4a505b',
    500: '#081220',
    950: '#000000',
  },
}
SCSS
$custom: #081220;
$custom-light: #4a505b;
$custom-dark: #000000;
JSON
{
  "hex": "#081220",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 32
  },
  "hsl": {
    "h": 215,
    "s": 60,
    "l": 7.843
  },
  "oklch": {
    "l": 0.18072,
    "c": 0.03273,
    "h": 256.7
  },
  "luminance": 0.00589
}

Semantic roles & 50–950 ramp

primary
#081220
secondary
#5E4726
accent
#A145E3
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010204
muted
#777879

Preview Lab

Preview with #081220

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

Preview Lab → · Contrast checker → · Palette generator →

#081220 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva