#08101C#08101C

#08101C is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.2% C 0.028 H 258.0°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#08101C
RGBrgb(8, 16, 28)
HSLhsl(216, 56%, 7%)
HSVhsv(216, 71%, 11%)
CMYKcmyk(71.4%, 42.9%, 0%, 89%)
CIE-LABlab(4.57, 0.58, -8.67)
CIE-LCHlch(4.57, 8.69, 273.80°)
OKLaboklab(17.18% -0.0059 -0.0275)
OKLCHoklch(17.18% 0.028 258)
XYZxyz(0.4950, 0.5060, 1.1700)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08101C #1C1408
analogous
#081A1C #08101C #0A081C
triadic
#08101C #1C0810 #101C08
tetradic
#08101C #1C081A #1C1408 #081C0A
square
#08101C #1C081A #1C1408 #081C0A
split-complementary
#08101C #1C0A08 #1A1C08
monochromatic
#070E18 #070E18 #08101C #162B4C #23467B

Accessibility & contrast

On white

19.07
#08101C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#08101C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08101C
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08101C#FFFFFF#000000##FFFFFF
##08101C1.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B111D
Deuteranopia (green-blind)
#090F1C
Tritanopia (blue-blind)
#021314
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #08101c;
/* rgb */ color: rgb(8, 16, 28);
/* oklch */ color: oklch(17.2% 0.028 258.0);
Tailwind
colors: {
  custom: {
    50: '#4a4e58',
    500: '#08101c',
    950: '#000000',
  },
}
SCSS
$custom: #08101c;
$custom-light: #4a4e58;
$custom-dark: #000000;
JSON
{
  "hex": "#08101c",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 28
  },
  "hsl": {
    "h": 216,
    "s": 55.556,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17185,
    "c": 0.02815,
    "h": 258
  },
  "luminance": 0.00506
}

Semantic roles & 50–950 ramp

primary
#08101C
secondary
#594527
accent
#A349DF
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08101C

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

Preview Lab → · Contrast checker → · Palette generator →

#08101C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva