#080420#080420

#080420 is a very dark, muted blue. Relative luminance 0.002; OKLCH L 14.0% C 0.059 H 284.3°. Best body text is #FFFFFF at 20.03:1 contrast (WCAG AA passes).

Color values

HEX#080420
RGBrgb(8, 4, 32)
HSLhsl(249, 78%, 7%)
HSVhsv(249, 88%, 13%)
CMYKcmyk(75%, 87.5%, 0%, 87.5%)
CIE-LABlab(2.19, 7.11, -15.40)
CIE-LCHlch(2.19, 16.96, 294.78°)
OKLaboklab(14.04% 0.0146 -0.0572)
OKLCHoklch(14.04% 0.059 284.3)
XYZxyz(0.4042, 0.2427, 1.3918)
Luminance0.0024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080420 #1C2004
analogous
#040E20 #080420 #160420
triadic
#080420 #200804 #042008
tetradic
#080420 #20040E #1C2004 #042016
square
#080420 #20040E #1C2004 #042016
split-complementary
#080420 #201604 #0E2004
monochromatic
#07031B #07031B #080420 #160B56 #23128D

Accessibility & contrast

On white

20.03
#080420 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#080420 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080420
20.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080420#FFFFFF#000000##FFFFFF
##0804201.0020.031.0520.03
#FFFFFF20.031.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000921
Deuteranopia (green-blind)
#00071F
Tritanopia (blue-blind)
#010A10
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #080420;
/* rgb */ color: rgb(8, 4, 32);
/* oklch */ color: oklch(14.0% 0.059 284.3);
Tailwind
colors: {
  custom: {
    50: '#4a485b',
    500: '#080420',
    950: '#000000',
  },
}
SCSS
$custom: #080420;
$custom-light: #4a485b;
$custom-dark: #000000;
JSON
{
  "hex": "#080420",
  "rgb": {
    "r": 8,
    "g": 4,
    "b": 32
  },
  "hsl": {
    "h": 248.571,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.14036,
    "c": 0.05904,
    "h": 284.3
  },
  "luminance": 0.00243
}

Semantic roles & 50–950 ramp

primary
#080420
secondary
#59631D
accent
#F434D9
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #080420

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

Preview Lab → · Contrast checker → · Palette generator →

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