#08152B#08152B

#08152B is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.8% C 0.048 H 260.1°. Best body text is #FFFFFF at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#08152B
RGBrgb(8, 21, 43)
HSLhsl(218, 69%, 10%)
HSVhsv(218, 81%, 17%)
CMYKcmyk(81.4%, 51.2%, 0%, 83.1%)
CIE-LABlab(6.89, 3.26, -16.54)
CIE-LCHlch(6.89, 16.86, 281.16°)
OKLaboklab(19.79% -0.0083 -0.0474)
OKLCHoklch(19.79% 0.048 260.1)
XYZxyz(0.8042, 0.7623, 2.3898)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08152B #2B1E08
analogous
#08272B #08152B #0C082B
triadic
#08152B #2B0815 #152B08
tetradic
#08152B #2B0827 #2B1E08 #082B0C
square
#08152B #2B0827 #2B1E08 #082B0C
split-complementary
#08152B #2B0C08 #272B08
monochromatic
#050D1A #050D1A #08152B #122E5F #1B4792

Accessibility & contrast

On white

18.22
#08152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#08152B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08152B
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08152B#FFFFFF#000000##FFFFFF
##08152B1.0018.221.1518.22
#FFFFFF18.221.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172C
Deuteranopia (green-blind)
#06142B
Tritanopia (blue-blind)
#001A1D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08152b;
/* rgb */ color: rgb(8, 21, 43);
/* oklch */ color: oklch(19.8% 0.048 260.1);
Tailwind
colors: {
  custom: {
    50: '#4c5264',
    500: '#08152b',
    950: '#000000',
  },
}
SCSS
$custom: #08152b;
$custom-light: #4c5264;
$custom-dark: #000000;
JSON
{
  "hex": "#08152b",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 217.714,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.19786,
    "c": 0.04813,
    "h": 260.1
  },
  "luminance": 0.00762
}

Semantic roles & 50–950 ramp

primary
#08152B
secondary
#6A5025
accent
#AA3CEB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #08152B

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

Preview Lab → · Contrast checker → · Palette generator →

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