#08162F#08162F

#08162F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.4% C 0.054 H 260.9°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#08162F
RGBrgb(8, 22, 47)
HSLhsl(218, 71%, 11%)
HSVhsv(218, 83%, 18%)
CMYKcmyk(83%, 53.2%, 0%, 81.6%)
CIE-LABlab(7.50, 4.48, -18.52)
CIE-LCHlch(7.50, 19.06, 283.58°)
OKLaboklab(20.4% -0.0085 -0.053)
OKLCHoklch(20.4% 0.054 260.9)
XYZxyz(0.9000, 0.8306, 2.8017)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08162F #2F2108
analogous
#08292F #08162F #0D082F
triadic
#08162F #2F0816 #162F08
tetradic
#08162F #2F0829 #2F2108 #082F0D
square
#08162F #2F0829 #2F2108 #082F0D
split-complementary
#08162F #2F0D08 #292F08
monochromatic
#040C1A #040C1A #08162F #112E63 #1A4798

Accessibility & contrast

On white

18.01
#08162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#08162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08162F
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08162F#FFFFFF#000000##FFFFFF
##08162F1.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1830
Deuteranopia (green-blind)
#04152E
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #08162f;
/* rgb */ color: rgb(8, 22, 47);
/* oklch */ color: oklch(20.4% 0.054 260.9);
Tailwind
colors: {
  custom: {
    50: '#4d5267',
    500: '#08162f',
    950: '#000000',
  },
}
SCSS
$custom: #08162f;
$custom-light: #4d5267;
$custom-dark: #000000;
JSON
{
  "hex": "#08162f",
  "rgb": {
    "r": 8,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 218.462,
    "s": 70.909,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20395,
    "c": 0.05368,
    "h": 260.9
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#08162F
secondary
#6E5425
accent
#AD3AEE
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #08162F

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

Preview Lab → · Contrast checker → · Palette generator →

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