#15417F#15417F

#15417F is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.115 H 257.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#15417F
RGBrgb(21, 65, 127)
HSLhsl(215, 72%, 29%)
HSVhsv(215, 83%, 50%)
CMYKcmyk(83.5%, 48.8%, 0%, 50.2%)
CIE-LABlab(28.04, 9.59, -39.28)
CIE-LCHlch(28.04, 40.43, 283.71°)
OKLaboklab(38.25% -0.0241 -0.1129)
OKLCHoklch(38.25% 0.115 257.9)
XYZxyz(6.0289, 5.4716, 20.8129)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15417F #7F5315
analogous
#15767F #15417F #1E157F
triadic
#15417F #7F1541 #417F15
tetradic
#15417F #7F1576 #7F5315 #157F1E
square
#15417F #7F1576 #7F5315 #157F1E
split-complementary
#15417F #7F1E15 #767F15
monochromatic
#040D1A #0C264A #15417F #1E5CB4 #3179DD

Accessibility & contrast

On white

10.03
#15417F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#15417F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15417F
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15417F#FFFFFF#000000##FFFFFF
##15417F1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4781
Deuteranopia (green-blind)
#003E7E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #15417f;
/* rgb */ color: rgb(21, 65, 127);
/* oklch */ color: oklch(38.3% 0.115 257.9);
Tailwind
colors: {
  custom: {
    50: '#6575a4',
    500: '#15417f',
    950: '#000000',
  },
}
SCSS
$custom: #15417f;
$custom-light: #6575a4;
$custom-dark: #000000;
JSON
{
  "hex": "#15417f",
  "rgb": {
    "r": 21,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 215.094,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38252,
    "c": 0.11542,
    "h": 257.9
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#15417F
secondary
#B4823C
accent
#A339EE
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #15417F

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

Preview Lab → · Contrast checker → · Palette generator →

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