#15408E#15408E

#15408E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.138 H 261.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#15408E
RGBrgb(21, 64, 142)
HSLhsl(219, 74%, 32%)
HSVhsv(219, 85%, 56%)
CMYKcmyk(85.2%, 54.9%, 0%, 44.3%)
CIE-LABlab(28.85, 16.51, -47.28)
CIE-LCHlch(28.85, 50.08, 289.25°)
OKLaboklab(39.22% -0.0212 -0.1364)
OKLCHoklch(39.22% 0.138 261.2)
XYZxyz(7.0234, 5.7783, 26.3311)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15408E #8E6315
analogous
#157D8E #15408E #27158E
triadic
#15408E #8E1540 #408E15
tetradic
#15408E #8E157D #8E6315 #158E27
square
#15408E #8E157D #8E6315 #158E27
split-complementary
#15408E #8E2715 #7D8E15
monochromatic
#051023 #0D2859 #15408E #1D58C3 #3B77E2

Accessibility & contrast

On white

9.74
#15408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15408E
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15408E#FFFFFF#000000##FFFFFF
##15408E1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #15408e;
/* rgb */ color: rgb(21, 64, 142);
/* oklch */ color: oklch(39.2% 0.138 261.2);
Tailwind
colors: {
  custom: {
    50: '#6974b0',
    500: '#15408e',
    950: '#000000',
  },
}
SCSS
$custom: #15408e;
$custom-light: #6974b0;
$custom-dark: #000000;
JSON
{
  "hex": "#15408e",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 218.678,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39223,
    "c": 0.13807,
    "h": 261.2
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#15408E
secondary
#C2933D
accent
#AF37F1
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #15408E

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

Preview Lab → · Contrast checker → · Palette generator →

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