#15418E#15418E

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

Color values

HEX#15418E
RGBrgb(21, 65, 142)
HSLhsl(218, 74%, 32%)
HSVhsv(218, 85%, 56%)
CMYKcmyk(85.2%, 54.2%, 0%, 44.3%)
CIE-LABlab(29.14, 15.82, -46.81)
CIE-LCHlch(29.14, 49.41, 288.67°)
OKLaboklab(39.45% -0.0219 -0.135)
OKLCHoklch(39.45% 0.137 260.8)
XYZxyz(7.0803, 5.8921, 26.3501)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15418E #8E6215
analogous
#157E8E #15418E #26158E
triadic
#15418E #8E1541 #418E15
tetradic
#15418E #8E157E #8E6215 #158E26
square
#15418E #8E157E #8E6215 #158E26
split-complementary
#15418E #8E2615 #7E8E15
monochromatic
#051023 #0D2959 #15418E #1D59C3 #3B78E2

Accessibility & contrast

On white

9.64
#15418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#15418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15418E
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15418E#FFFFFF#000000##FFFFFF
##15418E1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054A91
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #15418e;
/* rgb */ color: rgb(21, 65, 142);
/* oklch */ color: oklch(39.4% 0.137 260.8);
Tailwind
colors: {
  custom: {
    50: '#6974b0',
    500: '#15418e',
    950: '#000000',
  },
}
SCSS
$custom: #15418e;
$custom-light: #6974b0;
$custom-dark: #000000;
JSON
{
  "hex": "#15418e",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 218.182,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39445,
    "c": 0.13679,
    "h": 260.8
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

primary
#15418E
secondary
#C2913D
accent
#AD37F1
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #15418E

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

Preview Lab → · Contrast checker → · Palette generator →

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