#15418A#15418A

#15418A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.1% C 0.131 H 260.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#15418A
RGBrgb(21, 65, 138)
HSLhsl(217, 74%, 31%)
HSVhsv(217, 85%, 54%)
CMYKcmyk(84.8%, 52.9%, 0%, 45.9%)
CIE-LABlab(28.84, 14.16, -44.83)
CIE-LCHlch(28.84, 47.02, 287.53°)
OKLaboklab(39.12% -0.0224 -0.1292)
OKLCHoklch(39.12% 0.131 260.2)
XYZxyz(6.7853, 5.7742, 24.7967)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15418A #8A5E15
analogous
#157B8A #15418A #23158A
triadic
#15418A #8A1541 #418A15
tetradic
#15418A #8A157B #8A5E15 #158A23
square
#15418A #8A157B #8A5E15 #158A23
split-complementary
#15418A #8A2315 #7B8A15
monochromatic
#050F20 #0D2855 #15418A #1D5ABF #3978E1

Accessibility & contrast

On white

9.74
#15418A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#15418A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15418A
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15418A#FFFFFF#000000##FFFFFF
##15418A1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8D
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #15418a;
/* rgb */ color: rgb(21, 65, 138);
/* oklch */ color: oklch(39.1% 0.131 260.2);
Tailwind
colors: {
  custom: {
    50: '#6875ad',
    500: '#15418a',
    950: '#000000',
  },
}
SCSS
$custom: #15418a;
$custom-light: #6875ad;
$custom-dark: #000000;
JSON
{
  "hex": "#15418a",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 217.436,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39118,
    "c": 0.13113,
    "h": 260.2
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#15418A
secondary
#BE8D3D
accent
#AB38F0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #15418A

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

Preview Lab → · Contrast checker → · Palette generator →

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