#080D21#080D21

#080D21 is a very dark, muted blue. Relative luminance 0.004; OKLCH L 16.7% C 0.043 H 270.4°. Best body text is #FFFFFF at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#080D21
RGBrgb(8, 13, 33)
HSLhsl(228, 61%, 8%)
HSVhsv(228, 76%, 13%)
CMYKcmyk(75.8%, 60.6%, 0%, 87.1%)
CIE-LABlab(4.06, 3.75, -13.34)
CIE-LCHlch(4.06, 13.86, 285.70°)
OKLaboklab(16.7% 0.0003 -0.0425)
OKLCHoklch(16.7% 0.043 270.4)
XYZxyz(0.5185, 0.4492, 1.4979)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#080D21 #211C08
analogous
#081921 #080D21 #0F0821
triadic
#080D21 #21080D #0D2108
tetradic
#080D21 #210819 #211C08 #08210F
square
#080D21 #210819 #211C08 #08210F
split-complementary
#080D21 #210F08 #192108
monochromatic
#060A19 #060A19 #080D21 #142052 #203484

Accessibility & contrast

On white

19.27
#080D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#080D21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #080D21
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##080D21#FFFFFF#000000##FFFFFF
##080D211.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050F22
Deuteranopia (green-blind)
#030D21
Tritanopia (blue-blind)
#001115
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #080d21;
/* rgb */ color: rgb(8, 13, 33);
/* oklch */ color: oklch(16.7% 0.043 270.4);
Tailwind
colors: {
  custom: {
    50: '#4a4d5c',
    500: '#080d21',
    950: '#000000',
  },
}
SCSS
$custom: #080d21;
$custom-light: #4a4d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#080d21",
  "rgb": {
    "r": 8,
    "g": 13,
    "b": 33
  },
  "hsl": {
    "h": 228,
    "s": 60.976,
    "l": 8.039
  },
  "oklch": {
    "l": 0.16702,
    "c": 0.04253,
    "h": 270.4
  },
  "luminance": 0.00449
}

Semantic roles & 50–950 ramp

primary
#080D21
secondary
#5F5326
accent
#C444E4
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #080D21

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

Preview Lab → · Contrast checker → · Palette generator →

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