#08152C#08152C

#08152C is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.9% C 0.050 H 260.8°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#08152C
RGBrgb(8, 21, 44)
HSLhsl(218, 69%, 10%)
HSVhsv(218, 82%, 17%)
CMYKcmyk(81.8%, 52.3%, 0%, 82.7%)
CIE-LABlab(6.95, 3.74, -17.18)
CIE-LCHlch(6.95, 17.58, 282.27°)
OKLaboklab(19.87% -0.008 -0.0493)
OKLCHoklch(19.87% 0.05 260.8)
XYZxyz(0.8228, 0.7697, 2.4876)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08152C #2C1F08
analogous
#08272C #08152C #0D082C
triadic
#08152C #2C0815 #152C08
tetradic
#08152C #2C0827 #2C1F08 #082C0D
square
#08152C #2C0827 #2C1F08 #082C0D
split-complementary
#08152C #2C0D08 #272C08
monochromatic
#050C1A #050C1A #08152C #112E60 #1B4694

Accessibility & contrast

On white

18.20
#08152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08152C
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08152C#FFFFFF#000000##FFFFFF
##08152C1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A172D
Deuteranopia (green-blind)
#05142C
Tritanopia (blue-blind)
#001A1E
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08152c;
/* rgb */ color: rgb(8, 21, 44);
/* oklch */ color: oklch(19.9% 0.050 260.8);
Tailwind
colors: {
  custom: {
    50: '#4c5165',
    500: '#08152c',
    950: '#000000',
  },
}
SCSS
$custom: #08152c;
$custom-light: #4c5165;
$custom-dark: #000000;
JSON
{
  "hex": "#08152c",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 218.333,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19868,
    "c": 0.04991,
    "h": 260.8
  },
  "luminance": 0.0077
}

Semantic roles & 50–950 ramp

primary
#08152C
secondary
#6B5225
accent
#AC3CEC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A

Preview Lab

Preview with #08152C

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

Preview Lab → · Contrast checker → · Palette generator →

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