#08162B#08162B

#08162B is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.1% C 0.047 H 258.2°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#08162B
RGBrgb(8, 22, 43)
HSLhsl(216, 69%, 10%)
HSVhsv(216, 81%, 17%)
CMYKcmyk(81.4%, 48.8%, 0%, 83.1%)
CIE-LABlab(7.22, 2.57, -16.00)
CIE-LCHlch(7.22, 16.21, 279.12°)
OKLaboklab(20.07% -0.0095 -0.0457)
OKLCHoklch(20.07% 0.047 258.2)
XYZxyz(0.8229, 0.7998, 2.3960)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08162B #2B1D08
analogous
#08272B #08162B #0C082B
triadic
#08162B #2B0816 #162B08
tetradic
#08162B #2B0827 #2B1D08 #082B0C
square
#08162B #2B0827 #2B1D08 #082B0C
split-complementary
#08162B #2B0C08 #272B08
monochromatic
#050D1A #050D1A #08162B #12305F #1B4B92

Accessibility & contrast

On white

18.10
#08162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08162B
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08162B#FFFFFF#000000##FFFFFF
##08162B1.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182C
Deuteranopia (green-blind)
#08142B
Tritanopia (blue-blind)
#001B1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #08162b;
/* rgb */ color: rgb(8, 22, 43);
/* oklch */ color: oklch(20.1% 0.047 258.2);
Tailwind
colors: {
  custom: {
    50: '#4c5264',
    500: '#08162b',
    950: '#000000',
  },
}
SCSS
$custom: #08162b;
$custom-light: #4c5264;
$custom-dark: #000000;
JSON
{
  "hex": "#08162b",
  "rgb": {
    "r": 8,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 216,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.20072,
    "c": 0.04668,
    "h": 258.2
  },
  "luminance": 0.008
}

Semantic roles & 50–950 ramp

primary
#08162B
secondary
#6A4E25
accent
#A53CEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #08162B

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

Preview Lab → · Contrast checker → · Palette generator →

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