#15418D#15418D

#15418D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.135 H 260.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#15418D
RGBrgb(21, 65, 141)
HSLhsl(218, 74%, 32%)
HSVhsv(218, 85%, 55%)
CMYKcmyk(85.1%, 53.9%, 0%, 44.7%)
CIE-LABlab(29.06, 15.40, -46.32)
CIE-LCHlch(29.06, 48.81, 288.40°)
OKLaboklab(39.36% -0.022 -0.1336)
OKLCHoklch(39.36% 0.135 260.6)
XYZxyz(7.0055, 5.8622, 25.9564)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15418D #8D6115
analogous
#157D8D #15418D #25158D
triadic
#15418D #8D1541 #418D15
tetradic
#15418D #8D157D #8D6115 #158D25
square
#15418D #8D157D #8D6115 #158D25
split-complementary
#15418D #8D2515 #7D8D15
monochromatic
#051022 #0D2858 #15418D #1D5AC2 #3B78E2

Accessibility & contrast

On white

9.67
#15418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#15418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15418D
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15418D#FFFFFF#000000##FFFFFF
##15418D1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074A90
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #15418d;
/* rgb */ color: rgb(21, 65, 141);
/* oklch */ color: oklch(39.4% 0.135 260.6);
Tailwind
colors: {
  custom: {
    50: '#6975af',
    500: '#15418d',
    950: '#000000',
  },
}
SCSS
$custom: #15418d;
$custom-light: #6975af;
$custom-dark: #000000;
JSON
{
  "hex": "#15418d",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 218,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39363,
    "c": 0.13538,
    "h": 260.6
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#15418D
secondary
#C1903D
accent
#AD37F1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #15418D

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

Preview Lab → · Contrast checker → · Palette generator →

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