#08111E#08111E

#08111E is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.6% C 0.030 H 257.3°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#08111E
RGBrgb(8, 17, 30)
HSLhsl(215, 58%, 7%)
HSVhsv(215, 73%, 12%)
CMYKcmyk(73.3%, 43.3%, 0%, 88.2%)
CIE-LABlab(4.93, 0.65, -9.68)
CIE-LCHlch(4.93, 9.70, 273.81°)
OKLaboklab(17.63% -0.0067 -0.0297)
OKLCHoklch(17.63% 0.03 257.3)
XYZxyz(0.5349, 0.5462, 1.3053)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08111E #1E1508
analogous
#081C1E #08111E #0A081E
triadic
#08111E #1E0811 #111E08
tetradic
#08111E #1E081C #1E1508 #081E0A
square
#08111E #1E081C #1E1508 #081E0A
split-complementary
#08111E #1E0A08 #1C1E08
monochromatic
#060E18 #060E18 #08111E #152C4E #22487F

Accessibility & contrast

On white

18.93
#08111E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#08111E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08111E
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08111E#FFFFFF#000000##FFFFFF
##08111E1.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C121F
Deuteranopia (green-blind)
#09101E
Tritanopia (blue-blind)
#011416
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #08111e;
/* rgb */ color: rgb(8, 17, 30);
/* oklch */ color: oklch(17.6% 0.030 257.3);
Tailwind
colors: {
  custom: {
    50: '#4a4f59',
    500: '#08111e',
    950: '#000000',
  },
}
SCSS
$custom: #08111e;
$custom-light: #4a4f59;
$custom-dark: #000000;
JSON
{
  "hex": "#08111e",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 30
  },
  "hsl": {
    "h": 215.455,
    "s": 57.895,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17628,
    "c": 0.03046,
    "h": 257.3
  },
  "luminance": 0.00546
}

Semantic roles & 50–950 ramp

primary
#08111E
secondary
#5B4627
accent
#A247E1
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08111E

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

Preview Lab → · Contrast checker → · Palette generator →

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