#081121#081121

#081121 is a very dark, muted blue. Relative luminance 0.006; OKLCH L 17.8% C 0.036 H 261.0°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#081121
RGBrgb(8, 17, 33)
HSLhsl(218, 61%, 8%)
HSVhsv(218, 76%, 13%)
CMYKcmyk(75.8%, 48.5%, 0%, 87.1%)
CIE-LABlab(5.08, 1.66, -11.78)
CIE-LCHlch(5.08, 11.90, 278.03°)
OKLaboklab(17.85% -0.0056 -0.0355)
OKLCHoklch(17.85% 0.036 261)
XYZxyz(0.5750, 0.5623, 1.5168)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081121 #211808
analogous
#081D21 #081121 #0B0821
triadic
#081121 #210811 #112108
tetradic
#081121 #21081D #211808 #08210B
square
#081121 #21081D #211808 #08210B
split-complementary
#081121 #210B08 #1D2108
monochromatic
#060D19 #060D19 #081121 #142A52 #204484

Accessibility & contrast

On white

18.88
#081121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#081121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081121
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081121#FFFFFF#000000##FFFFFF
##0811211.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1222
Deuteranopia (green-blind)
#071021
Tritanopia (blue-blind)
#001517
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #081121;
/* rgb */ color: rgb(8, 17, 33);
/* oklch */ color: oklch(17.8% 0.036 261.0);
Tailwind
colors: {
  custom: {
    50: '#4a4f5c',
    500: '#081121',
    950: '#000000',
  },
}
SCSS
$custom: #081121;
$custom-light: #4a4f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#081121",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 33
  },
  "hsl": {
    "h": 218.4,
    "s": 60.976,
    "l": 8.039
  },
  "oklch": {
    "l": 0.17848,
    "c": 0.036,
    "h": 261
  },
  "luminance": 0.00562
}

Semantic roles & 50–950 ramp

primary
#081121
secondary
#5F4A26
accent
#AA44E4
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010104
muted
#777779

Preview Lab

Preview with #081121

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

Preview Lab → · Contrast checker → · Palette generator →

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