#08152A#08152A

#08152A is a very dark, muted blue. Relative luminance 0.008; OKLCH L 19.7% C 0.046 H 259.4°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#08152A
RGBrgb(8, 21, 42)
HSLhsl(217, 68%, 10%)
HSVhsv(217, 81%, 16%)
CMYKcmyk(81%, 50%, 0%, 83.5%)
CIE-LABlab(6.82, 2.81, -15.90)
CIE-LCHlch(6.82, 16.14, 280.01°)
OKLaboklab(19.71% -0.0085 -0.0456)
OKLCHoklch(19.71% 0.046 259.4)
XYZxyz(0.7861, 0.7550, 2.2944)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08152A #2A1D08
analogous
#08262A #08152A #0C082A
triadic
#08152A #2A0815 #152A08
tetradic
#08152A #2A0826 #2A1D08 #082A0C
square
#08152A #2A0826 #2A1D08 #082A0C
split-complementary
#08152A #2A0C08 #262A08
monochromatic
#050D1A #050D1A #08152A #122F5D #1C4891

Accessibility & contrast

On white

18.25
#08152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #08152A
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08152A#FFFFFF#000000##FFFFFF
##08152A1.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C172B
Deuteranopia (green-blind)
#07142A
Tritanopia (blue-blind)
#001A1D
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #08152a;
/* rgb */ color: rgb(8, 21, 42);
/* oklch */ color: oklch(19.7% 0.046 259.4);
Tailwind
colors: {
  custom: {
    50: '#4b5263',
    500: '#08152a',
    950: '#000000',
  },
}
SCSS
$custom: #08152a;
$custom-light: #4b5263;
$custom-dark: #000000;
JSON
{
  "hex": "#08152a",
  "rgb": {
    "r": 8,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 217.059,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19707,
    "c": 0.04637,
    "h": 259.4
  },
  "luminance": 0.00755
}

Semantic roles & 50–950 ramp

primary
#08152A
secondary
#694F25
accent
#A83DEB
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879

Preview Lab

Preview with #08152A

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

Preview Lab → · Contrast checker → · Palette generator →

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