#08101F#08101F

#08101F is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.4% C 0.034 H 261.9°. Best body text is #FFFFFF at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#08101F
RGBrgb(8, 16, 31)
HSLhsl(219, 59%, 8%)
HSVhsv(219, 74%, 12%)
CMYKcmyk(74.2%, 48.4%, 0%, 87.8%)
CIE-LABlab(4.71, 1.53, -10.80)
CIE-LCHlch(4.71, 10.91, 278.08°)
OKLaboklab(17.4% -0.0048 -0.0334)
OKLCHoklch(17.4% 0.034 261.9)
XYZxyz(0.5327, 0.5211, 1.3686)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08101F #1F1708
analogous
#081B1F #08101F #0B081F
triadic
#08101F #1F0810 #101F08
tetradic
#08101F #1F081B #1F1708 #081F0B
square
#08101F #1F081B #1F1708 #081F0B
split-complementary
#08101F #1F0B08 #1B1F08
monochromatic
#060D18 #060D18 #08101F #152950 #214280

Accessibility & contrast

On white

19.02
#08101F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08101F
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08101F#FFFFFF#000000##FFFFFF
##08101F1.0019.021.1019.02
#FFFFFF19.021.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1120
Deuteranopia (green-blind)
#070F1F
Tritanopia (blue-blind)
#011315
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #08101f;
/* rgb */ color: rgb(8, 16, 31);
/* oklch */ color: oklch(17.4% 0.034 261.9);
Tailwind
colors: {
  custom: {
    50: '#4a4e5a',
    500: '#08101f',
    950: '#000000',
  },
}
SCSS
$custom: #08101f;
$custom-light: #4a4e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#08101f",
  "rgb": {
    "r": 8,
    "g": 16,
    "b": 31
  },
  "hsl": {
    "h": 219.13,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17402,
    "c": 0.03377,
    "h": 261.9
  },
  "luminance": 0.00521
}

Semantic roles & 50–950 ramp

primary
#08101F
secondary
#5C4A26
accent
#AC46E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08101F

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

Preview Lab → · Contrast checker → · Palette generator →

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