#08152E#08152E

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

Color values

HEX#08152E
RGBrgb(8, 21, 46)
HSLhsl(219, 70%, 11%)
HSVhsv(219, 83%, 18%)
CMYKcmyk(82.6%, 54.3%, 0%, 82%)
CIE-LABlab(7.09, 4.71, -18.44)
CIE-LCHlch(7.09, 19.03, 284.32°)
OKLaboklab(20.03% -0.0075 -0.0529)
OKLCHoklch(20.03% 0.053 261.9)
XYZxyz(0.8613, 0.7851, 2.6904)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08152E #2E2108
analogous
#08282E #08152E #0E082E
triadic
#08152E #2E0815 #152E08
tetradic
#08152E #2E0828 #2E2108 #082E0E
square
#08152E #2E0828 #2E2108 #082E0E
split-complementary
#08152E #2E0E08 #282E08
monochromatic
#050C1A #050C1A #08152E #112D62 #1A4596

Accessibility & contrast

On white

18.15
#08152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08152E
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08152E#FFFFFF#000000##FFFFFF
##08152E1.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09182F
Deuteranopia (green-blind)
#04142D
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #08152e;
/* rgb */ color: rgb(8, 21, 46);
/* oklch */ color: oklch(20.0% 0.053 261.9);
Tailwind
colors: {
  custom: {
    50: '#4d5167',
    500: '#08152e',
    950: '#000000',
  },
}
SCSS
$custom: #08152e;
$custom-light: #4d5167;
$custom-dark: #000000;
JSON
{
  "hex": "#08152e",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 219.474,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20034,
    "c": 0.05344,
    "h": 261.9
  },
  "luminance": 0.00785
}

Semantic roles & 50–950 ramp

primary
#08152E
secondary
#6D5425
accent
#B03BED
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010206
muted
#77787A

Preview Lab

Preview with #08152E

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

Preview Lab → · Contrast checker → · Palette generator →

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