#15418F#15418F

#15418F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.138 H 260.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#15418F
RGBrgb(21, 65, 143)
HSLhsl(218, 74%, 32%)
HSVhsv(218, 85%, 56%)
CMYKcmyk(85.3%, 54.5%, 0%, 43.9%)
CIE-LABlab(29.22, 16.23, -47.30)
CIE-LCHlch(29.22, 50.01, 288.94°)
OKLaboklab(39.53% -0.0218 -0.1365)
OKLCHoklch(39.53% 0.138 260.9)
XYZxyz(7.1557, 5.9223, 26.7473)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15418F #8F6315
analogous
#157E8F #15418F #26158F
triadic
#15418F #8F1541 #418F15
tetradic
#15418F #8F157E #8F6315 #158F26
square
#15418F #8F157E #8F6315 #158F26
split-complementary
#15418F #8F2615 #7E8F15
monochromatic
#051024 #0D295A #15418F #1D59C4 #3C78E2

Accessibility & contrast

On white

9.61
#15418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15418F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15418F#FFFFFF#000000##FFFFFF
##15418F1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024B92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #15418f;
/* rgb */ color: rgb(21, 65, 143);
/* oklch */ color: oklch(39.5% 0.138 260.9);
Tailwind
colors: {
  custom: {
    50: '#6a74b0',
    500: '#15418f',
    950: '#000000',
  },
}
SCSS
$custom: #15418f;
$custom-light: #6a74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#15418f",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 218.361,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39528,
    "c": 0.13819,
    "h": 260.9
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#15418F
secondary
#C2923E
accent
#AE37F1
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080811
muted
#7A7B80

Preview Lab

Preview with #15418F

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

Preview Lab → · Contrast checker → · Palette generator →

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