#08101E#08101E

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

Color values

HEX#08101E
RGBrgb(8, 16, 30)
HSLhsl(218, 58%, 7%)
HSVhsv(218, 73%, 12%)
CMYKcmyk(73.3%, 46.7%, 0%, 88.2%)
CIE-LABlab(4.66, 1.20, -10.09)
CIE-LCHlch(4.66, 10.16, 276.79°)
OKLaboklab(17.33% -0.0051 -0.0315)
OKLCHoklch(17.33% 0.032 260.8)
XYZxyz(0.5197, 0.5159, 1.3002)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08101E #1E1608
analogous
#081B1E #08101E #0B081E
triadic
#08101E #1E0810 #101E08
tetradic
#08101E #1E081B #1E1608 #081E0B
square
#08101E #1E081B #1E1608 #081E0B
split-complementary
#08101E #1E0B08 #1B1E08
monochromatic
#060D18 #060D18 #08101E #152A4E #22447F

Accessibility & contrast

On white

19.04
#08101E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08101E
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08101E#FFFFFF#000000##FFFFFF
##08101E1.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08101e;
/* rgb */ color: rgb(8, 16, 30);
/* oklch */ color: oklch(17.3% 0.032 260.8);
Tailwind
colors: {
  custom: {
    50: '#4a4e59',
    500: '#08101e',
    950: '#000000',
  },
}
SCSS
$custom: #08101e;
$custom-light: #4a4e59;
$custom-dark: #000000;
JSON
{
  "hex": "#08101e",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 30
  },
  "hsl": {
    "h": 218.182,
    "s": 57.895,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17328,
    "c": 0.03188,
    "h": 260.8
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#08101E
secondary
#5B4827
accent
#A947E1
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08101E

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

Preview Lab → · Contrast checker → · Palette generator →

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