#08101D#08101D

#08101D is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.3% C 0.030 H 259.5°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#08101D
RGBrgb(8, 16, 29)
HSLhsl(217, 57%, 7%)
HSVhsv(217, 72%, 11%)
CMYKcmyk(72.4%, 44.8%, 0%, 88.6%)
CIE-LABlab(4.61, 0.88, -9.38)
CIE-LCHlch(4.61, 9.42, 275.36°)
OKLaboklab(17.26% -0.0055 -0.0295)
OKLCHoklch(17.26% 0.03 259.5)
XYZxyz(0.5071, 0.5109, 1.2340)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08101D #1D1508
analogous
#081B1D #08101D #0B081D
triadic
#08101D #1D0810 #101D08
tetradic
#08101D #1D081B #1D1508 #081D0B
square
#08101D #1D081B #1D1508 #081D0B
split-complementary
#08101D #1D0B08 #1B1D08
monochromatic
#070D18 #070D18 #08101D #152A4D #22457D

Accessibility & contrast

On white

19.05
#08101D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08101D
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08101D#FFFFFF#000000##FFFFFF
##08101D1.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B111E
Deuteranopia (green-blind)
#080F1D
Tritanopia (blue-blind)
#011315
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #08101d;
/* rgb */ color: rgb(8, 16, 29);
/* oklch */ color: oklch(17.3% 0.030 259.5);
Tailwind
colors: {
  custom: {
    50: '#4a4e58',
    500: '#08101d',
    950: '#000000',
  },
}
SCSS
$custom: #08101d;
$custom-light: #4a4e58;
$custom-dark: #000000;
JSON
{
  "hex": "#08101d",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 29
  },
  "hsl": {
    "h": 217.143,
    "s": 56.757,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17256,
    "c": 0.03002,
    "h": 259.5
  },
  "luminance": 0.00511
}

Semantic roles & 50–950 ramp

primary
#08101D
secondary
#5A4627
accent
#A648E0
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08101D

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

Preview Lab → · Contrast checker → · Palette generator →

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