#08162D#08162D

#08162D is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.2% C 0.050 H 259.7°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#08162D
RGBrgb(8, 22, 45)
HSLhsl(217, 70%, 10%)
HSVhsv(217, 82%, 18%)
CMYKcmyk(82.2%, 51.1%, 0%, 82.4%)
CIE-LABlab(7.36, 3.52, -17.27)
CIE-LCHlch(7.36, 17.63, 281.52°)
OKLaboklab(20.23% -0.009 -0.0494)
OKLCHoklch(20.23% 0.05 259.7)
XYZxyz(0.8605, 0.8148, 2.5940)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08162D #2D1F08
analogous
#08282D #08162D #0C082D
triadic
#08162D #2D0816 #162D08
tetradic
#08162D #2D0828 #2D1F08 #082D0C
square
#08162D #2D0828 #2D1F08 #082D0C
split-complementary
#08162D #2D0C08 #282D08
monochromatic
#050D1A #050D1A #08162D #112F61 #1A4995

Accessibility & contrast

On white

18.06
#08162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#08162D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08162D
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08162D#FFFFFF#000000##FFFFFF
##08162D1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B182E
Deuteranopia (green-blind)
#06152D
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #08162d;
/* rgb */ color: rgb(8, 22, 45);
/* oklch */ color: oklch(20.2% 0.050 259.7);
Tailwind
colors: {
  custom: {
    50: '#4c5266',
    500: '#08162d',
    950: '#000000',
  },
}
SCSS
$custom: #08162d;
$custom-light: #4c5266;
$custom-dark: #000000;
JSON
{
  "hex": "#08162d",
  "rgb": {
    "r": 8,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 217.297,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20231,
    "c": 0.05018,
    "h": 259.7
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#08162D
secondary
#6C5125
accent
#A93BED
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #08162D

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

Preview Lab → · Contrast checker → · Palette generator →

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