#08152D#08152D

#08152D is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.0% C 0.052 H 261.4°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#08152D
RGBrgb(8, 21, 45)
HSLhsl(219, 70%, 10%)
HSVhsv(219, 82%, 18%)
CMYKcmyk(82.2%, 53.3%, 0%, 82.4%)
CIE-LABlab(7.02, 4.22, -17.81)
CIE-LCHlch(7.02, 18.30, 283.33°)
OKLaboklab(19.95% -0.0077 -0.0511)
OKLCHoklch(19.95% 0.052 261.4)
XYZxyz(0.8418, 0.7773, 2.5878)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08152D #2D2008
analogous
#08272D #08152D #0D082D
triadic
#08152D #2D0815 #152D08
tetradic
#08152D #2D0827 #2D2008 #082D0D
square
#08152D #2D0827 #2D2008 #082D0D
split-complementary
#08152D #2D0D08 #272D08
monochromatic
#050C1A #050C1A #08152D #112D61 #1A4595

Accessibility & contrast

On white

18.18
#08152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08152D
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08152D#FFFFFF#000000##FFFFFF
##08152D1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172E
Deuteranopia (green-blind)
#04142D
Tritanopia (blue-blind)
#001B1E
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #08152d;
/* rgb */ color: rgb(8, 21, 45);
/* oklch */ color: oklch(20.0% 0.052 261.4);
Tailwind
colors: {
  custom: {
    50: '#4c5166',
    500: '#08152d',
    950: '#000000',
  },
}
SCSS
$custom: #08152d;
$custom-light: #4c5166;
$custom-dark: #000000;
JSON
{
  "hex": "#08152d",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 218.919,
    "s": 69.811,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1995,
    "c": 0.05167,
    "h": 261.4
  },
  "luminance": 0.00777
}

Semantic roles & 50–950 ramp

primary
#08152D
secondary
#6C5325
accent
#AE3BED
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #08152D

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

Preview Lab → · Contrast checker → · Palette generator →

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