#15408F#15408F

#15408F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.139 H 261.3°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#15408F
RGBrgb(21, 64, 143)
HSLhsl(219, 74%, 32%)
HSVhsv(219, 85%, 56%)
CMYKcmyk(85.3%, 55.2%, 0%, 43.9%)
CIE-LABlab(28.92, 16.93, -47.77)
CIE-LCHlch(28.92, 50.68, 289.51°)
OKLaboklab(39.31% -0.0211 -0.1379)
OKLCHoklch(39.31% 0.139 261.3)
XYZxyz(7.0988, 5.8085, 26.7283)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15408F #8F6415
analogous
#157D8F #15408F #27158F
triadic
#15408F #8F1540 #408F15
tetradic
#15408F #8F157D #8F6415 #158F27
square
#15408F #8F157D #8F6415 #158F27
split-complementary
#15408F #8F2715 #7D8F15
monochromatic
#051024 #0D285A #15408F #1D58C4 #3C77E2

Accessibility & contrast

On white

9.71
#15408F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#15408F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15408F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15408F#FFFFFF#000000##FFFFFF
##15408F1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #15408f;
/* rgb */ color: rgb(21, 64, 143);
/* oklch */ color: oklch(39.3% 0.139 261.3);
Tailwind
colors: {
  custom: {
    50: '#6a74b0',
    500: '#15408f',
    950: '#000000',
  },
}
SCSS
$custom: #15408f;
$custom-light: #6a74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#15408f",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 143
  },
  "hsl": {
    "h": 218.852,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39307,
    "c": 0.13948,
    "h": 261.3
  },
  "luminance": 0.05809
}

Semantic roles & 50–950 ramp

primary
#15408F
secondary
#C2933E
accent
#AF37F1
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #15408F

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

Preview Lab → · Contrast checker → · Palette generator →

#15408F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva