#08162E#08162E

#08162E is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.3% C 0.052 H 260.3°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#08162E
RGBrgb(8, 22, 46)
HSLhsl(218, 70%, 11%)
HSVhsv(218, 83%, 18%)
CMYKcmyk(82.6%, 52.2%, 0%, 82%)
CIE-LABlab(7.43, 4.00, -17.90)
CIE-LCHlch(7.43, 18.34, 282.59°)
OKLaboklab(20.31% -0.0087 -0.0512)
OKLCHoklch(20.31% 0.052 260.3)
XYZxyz(0.8800, 0.8226, 2.6966)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08162E #2E2008
analogous
#08292E #08162E #0D082E
triadic
#08162E #2E0816 #162E08
tetradic
#08162E #2E0829 #2E2008 #082E0D
square
#08162E #2E0829 #2E2008 #082E0D
split-complementary
#08162E #2E0D08 #292E08
monochromatic
#050C1A #050C1A #08162E #112F62 #1A4896

Accessibility & contrast

On white

18.03
#08162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08162E
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08162E#FFFFFF#000000##FFFFFF
##08162E1.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B182F
Deuteranopia (green-blind)
#05152E
Tritanopia (blue-blind)
#001C1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #08162e;
/* rgb */ color: rgb(8, 22, 46);
/* oklch */ color: oklch(20.3% 0.052 260.3);
Tailwind
colors: {
  custom: {
    50: '#4d5267',
    500: '#08162e',
    950: '#000000',
  },
}
SCSS
$custom: #08162e;
$custom-light: #4d5267;
$custom-dark: #000000;
JSON
{
  "hex": "#08162e",
  "rgb": {
    "r": 8,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 217.895,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20312,
    "c": 0.05193,
    "h": 260.3
  },
  "luminance": 0.00823
}

Semantic roles & 50–950 ramp

primary
#08162E
secondary
#6D5225
accent
#AB3BED
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #08162E

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

Preview Lab → · Contrast checker → · Palette generator →

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