#15407D#15407D

#15407D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.114 H 258.0°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#15407D
RGBrgb(21, 64, 125)
HSLhsl(215, 71%, 29%)
HSVhsv(215, 83%, 49%)
CMYKcmyk(83.2%, 48.8%, 0%, 51%)
CIE-LABlab(27.59, 9.45, -38.75)
CIE-LCHlch(27.59, 39.89, 283.70°)
OKLaboklab(37.86% -0.0237 -0.1113)
OKLCHoklch(37.86% 0.114 258)
XYZxyz(5.8430, 5.3062, 20.1143)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15407D #7D5215
analogous
#15747D #15407D #1E157D
triadic
#15407D #7D1540 #407D15
tetradic
#15407D #7D1574 #7D5215 #157D1E
square
#15407D #7D1574 #7D5215 #157D1E
split-complementary
#15407D #7D1E15 #747D15
monochromatic
#040D1A #0C2549 #15407D #1E5BB1 #3077DC

Accessibility & contrast

On white

10.19
#15407D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#15407D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15407D
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15407D#FFFFFF#000000##FFFFFF
##15407D1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467F
Deuteranopia (green-blind)
#003D7C
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #15407d;
/* rgb */ color: rgb(21, 64, 125);
/* oklch */ color: oklch(37.9% 0.114 258.0);
Tailwind
colors: {
  custom: {
    50: '#6574a3',
    500: '#15407d',
    950: '#000000',
  },
}
SCSS
$custom: #15407d;
$custom-light: #6574a3;
$custom-dark: #000000;
JSON
{
  "hex": "#15407d",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 215.192,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37862,
    "c": 0.11382,
    "h": 258
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#15407D
secondary
#B2813C
accent
#A33AEE
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #15407D

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

Preview Lab → · Contrast checker → · Palette generator →

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