#08162A#08162A

#08162A is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.0% C 0.045 H 257.3°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#08162A
RGBrgb(8, 22, 42)
HSLhsl(215, 68%, 10%)
HSVhsv(215, 81%, 16%)
CMYKcmyk(81%, 47.6%, 0%, 83.5%)
CIE-LABlab(7.16, 2.11, -15.36)
CIE-LCHlch(7.16, 15.51, 277.83°)
OKLaboklab(19.99% -0.0098 -0.0438)
OKLCHoklch(19.99% 0.045 257.3)
XYZxyz(0.8048, 0.7925, 2.3006)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08162A #2A1C08
analogous
#08272A #08162A #0B082A
triadic
#08162A #2A0816 #162A08
tetradic
#08162A #2A0827 #2A1C08 #082A0B
square
#08162A #2A0827 #2A1C08 #082A0B
split-complementary
#08162A #2A0B08 #272A08
monochromatic
#050D1A #050D1A #08162A #12315D #1C4C91

Accessibility & contrast

On white

18.13
#08162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08162A
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08162A#FFFFFF#000000##FFFFFF
##08162A1.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D182B
Deuteranopia (green-blind)
#08142A
Tritanopia (blue-blind)
#001B1D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #08162a;
/* rgb */ color: rgb(8, 22, 42);
/* oklch */ color: oklch(20.0% 0.045 257.3);
Tailwind
colors: {
  custom: {
    50: '#4b5263',
    500: '#08162a',
    950: '#000000',
  },
}
SCSS
$custom: #08162a;
$custom-light: #4b5263;
$custom-dark: #000000;
JSON
{
  "hex": "#08162a",
  "rgb": {
    "r": 8,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 215.294,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19994,
    "c": 0.04492,
    "h": 257.3
  },
  "luminance": 0.00793
}

Semantic roles & 50–950 ramp

primary
#08162A
secondary
#694D25
accent
#A33DEB
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #08162A

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

Preview Lab → · Contrast checker → · Palette generator →

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