#15408D#15408D

#15408D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.137 H 261.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#15408D
RGBrgb(21, 64, 141)
HSLhsl(219, 74%, 32%)
HSVhsv(219, 85%, 55%)
CMYKcmyk(85.1%, 54.6%, 0%, 44.7%)
CIE-LABlab(28.77, 16.10, -46.79)
CIE-LCHlch(28.77, 49.48, 288.99°)
OKLaboklab(39.14% -0.0213 -0.135)
OKLCHoklch(39.14% 0.137 261)
XYZxyz(6.9486, 5.7485, 25.9375)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15408D #8D6215
analogous
#157C8D #15408D #26158D
triadic
#15408D #8D1540 #408D15
tetradic
#15408D #8D157C #8D6215 #158D26
square
#15408D #8D157C #8D6215 #158D26
split-complementary
#15408D #8D2615 #7C8D15
monochromatic
#051022 #0D2858 #15408D #1D58C2 #3B77E2

Accessibility & contrast

On white

9.77
#15408D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#15408D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15408D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15408D#FFFFFF#000000##FFFFFF
##15408D1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024A90
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #15408d;
/* rgb */ color: rgb(21, 64, 141);
/* oklch */ color: oklch(39.1% 0.137 261.0);
Tailwind
colors: {
  custom: {
    50: '#6974af',
    500: '#15408d',
    950: '#000000',
  },
}
SCSS
$custom: #15408d;
$custom-light: #6974af;
$custom-dark: #000000;
JSON
{
  "hex": "#15408d",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 218.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3914,
    "c": 0.13666,
    "h": 261
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#15408D
secondary
#C1923D
accent
#AE37F1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #15408D

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

Preview Lab → · Contrast checker → · Palette generator →

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