#15408C#15408C

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

Color values

HEX#15408C
RGBrgb(21, 64, 140)
HSLhsl(218, 74%, 32%)
HSVhsv(218, 85%, 55%)
CMYKcmyk(85%, 54.3%, 0%, 45.1%)
CIE-LABlab(28.69, 15.69, -46.30)
CIE-LCHlch(28.69, 48.89, 288.72°)
OKLaboklab(39.06% -0.0214 -0.1335)
OKLCHoklch(39.06% 0.135 260.9)
XYZxyz(6.8746, 5.7188, 25.5474)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15408C #8C6115
analogous
#157C8C #15408C #25158C
triadic
#15408C #8C1540 #408C15
tetradic
#15408C #8C157C #8C6115 #158C25
square
#15408C #8C157C #8C6115 #158C25
split-complementary
#15408C #8C2515 #7C8C15
monochromatic
#050F22 #0D2857 #15408C #1D58C1 #3A76E1

Accessibility & contrast

On white

9.79
#15408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#15408C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15408C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15408C#FFFFFF#000000##FFFFFF
##15408C1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05498F
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #15408c;
/* rgb */ color: rgb(21, 64, 140);
/* oklch */ color: oklch(39.1% 0.135 260.9);
Tailwind
colors: {
  custom: {
    50: '#6974ae',
    500: '#15408c',
    950: '#000000',
  },
}
SCSS
$custom: #15408c;
$custom-light: #6974ae;
$custom-dark: #000000;
JSON
{
  "hex": "#15408c",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 218.319,
    "s": 73.913,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39057,
    "c": 0.13525,
    "h": 260.9
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15408C

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

Preview Lab → · Contrast checker → · Palette generator →

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