#08111F#08111F

#08111F is a very dark, muted blue. Relative luminance 0.006; OKLCH L 17.7% C 0.032 H 258.7°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#08111F
RGBrgb(8, 17, 31)
HSLhsl(217, 59%, 8%)
HSVhsv(217, 74%, 12%)
CMYKcmyk(74.2%, 45.2%, 0%, 87.8%)
CIE-LABlab(4.98, 0.97, -10.38)
CIE-LCHlch(4.98, 10.43, 275.34°)
OKLaboklab(17.7% -0.0063 -0.0317)
OKLCHoklch(17.7% 0.032 258.7)
XYZxyz(0.5478, 0.5514, 1.3736)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08111F #1F1608
analogous
#081C1F #08111F #0B081F
triadic
#08111F #1F0811 #111F08
tetradic
#08111F #1F081C #1F1608 #081F0B
square
#08111F #1F081C #1F1608 #081F0B
split-complementary
#08111F #1F0B08 #1C1F08
monochromatic
#060D18 #060D18 #08111F #152C50 #214680

Accessibility & contrast

On white

18.92
#08111F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08111F
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08111F#FFFFFF#000000##FFFFFF
##08111F1.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #08111f;
/* rgb */ color: rgb(8, 17, 31);
/* oklch */ color: oklch(17.7% 0.032 258.7);
Tailwind
colors: {
  custom: {
    50: '#4a4f5a',
    500: '#08111f',
    950: '#000000',
  },
}
SCSS
$custom: #08111f;
$custom-light: #4a4f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#08111f",
  "rgb": {
    "r": 8,
    "g": 17,
    "b": 31
  },
  "hsl": {
    "h": 216.522,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.177,
    "c": 0.03229,
    "h": 258.7
  },
  "luminance": 0.00551
}

Semantic roles & 50–950 ramp

primary
#08111F
secondary
#5C4726
accent
#A546E2
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778

Preview Lab

Preview with #08111F

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

Preview Lab → · Contrast checker → · Palette generator →

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