#080421#080421

#080421 is a very dark, moderate blue. Relative luminance 0.002; OKLCH L 14.2% C 0.061 H 283.7°. Best body text is #FFFFFF at 20.01:1 contrast (WCAG AA passes).

Color values

HEX#080421
RGBrgb(8, 4, 33)
HSLhsl(248, 78%, 7%)
HSVhsv(248, 88%, 13%)
CMYKcmyk(75.8%, 87.9%, 0%, 87.1%)
CIE-LABlab(2.24, 7.46, -16.11)
CIE-LCHlch(2.24, 17.75, 294.84°)
OKLaboklab(14.16% 0.0144 -0.059)
OKLCHoklch(14.16% 0.061 283.7)
XYZxyz(0.4180, 0.2482, 1.4644)
Luminance0.0025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080421 #1D2104
analogous
#040F21 #080421 #170421
triadic
#080421 #210804 #042108
tetradic
#080421 #21040F #1D2104 #042117
square
#080421 #21040F #1D2104 #042117
split-complementary
#080421 #211704 #0F2104
monochromatic
#07031B #07031B #080421 #150B58 #22118E

Accessibility & contrast

On white

20.01
#080421 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #080421
20.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080421#FFFFFF#000000##FFFFFF
##0804211.0020.011.0520.01
#FFFFFF20.011.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000922
Deuteranopia (green-blind)
#000720
Tritanopia (blue-blind)
#010A11
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #080421;
/* rgb */ color: rgb(8, 4, 33);
/* oklch */ color: oklch(14.2% 0.061 283.7);
Tailwind
colors: {
  custom: {
    50: '#4a485c',
    500: '#080421',
    950: '#000000',
  },
}
SCSS
$custom: #080421;
$custom-light: #4a485c;
$custom-dark: #000000;
JSON
{
  "hex": "#080421",
  "rgb": {
    "r": 8,
    "g": 4,
    "b": 33
  },
  "hsl": {
    "h": 248.276,
    "s": 78.378,
    "l": 7.255
  },
  "oklch": {
    "l": 0.14156,
    "c": 0.06068,
    "h": 283.7
  },
  "luminance": 0.00248
}

Semantic roles & 50–950 ramp

primary
#080421
secondary
#5A641D
accent
#F533DA
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#010004
muted
#777779

Preview Lab

Preview with #080421

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

Preview Lab → · Contrast checker → · Palette generator →

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