#080F21#080F21

#080F21 is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.3% C 0.039 H 266.1°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#080F21
RGBrgb(8, 15, 33)
HSLhsl(223, 61%, 8%)
HSVhsv(223, 76%, 13%)
CMYKcmyk(75.8%, 54.5%, 0%, 87.1%)
CIE-LABlab(4.54, 2.76, -12.60)
CIE-LCHlch(4.54, 12.90, 282.35°)
OKLaboklab(17.27% -0.0026 -0.0391)
OKLCHoklch(17.27% 0.039 266.1)
XYZxyz(0.5454, 0.5030, 1.5069)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080F21 #211A08
analogous
#081B21 #080F21 #0D0821
triadic
#080F21 #21080F #0F2108
tetradic
#080F21 #21081B #211A08 #08210D
square
#080F21 #21081B #211A08 #08210D
split-complementary
#080F21 #210D08 #1B2108
monochromatic
#060B19 #060B19 #080F21 #142552 #203C84

Accessibility & contrast

On white

19.08
#080F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#080F21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080F21
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080F21#FFFFFF#000000##FFFFFF
##080F211.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081122
Deuteranopia (green-blind)
#050F21
Tritanopia (blue-blind)
#001316
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #080f21;
/* rgb */ color: rgb(8, 15, 33);
/* oklch */ color: oklch(17.3% 0.039 266.1);
Tailwind
colors: {
  custom: {
    50: '#4a4e5c',
    500: '#080f21',
    950: '#000000',
  },
}
SCSS
$custom: #080f21;
$custom-light: #4a4e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#080f21",
  "rgb": {
    "r": 8,
    "g": 15,
    "b": 33
  },
  "hsl": {
    "h": 223.2,
    "s": 60.976,
    "l": 8.039
  },
  "oklch": {
    "l": 0.17266,
    "c": 0.03915,
    "h": 266.1
  },
  "luminance": 0.00503
}

Semantic roles & 50–950 ramp

primary
#080F21
secondary
#5F4F26
accent
#B744E4
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #080F21

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

Preview Lab → · Contrast checker → · Palette generator →

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