#15407E#15407E

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

Color values

HEX#15407E
RGBrgb(21, 64, 126)
HSLhsl(215, 71%, 29%)
HSVhsv(215, 83%, 49%)
CMYKcmyk(83.3%, 49.2%, 0%, 50.6%)
CIE-LABlab(27.66, 9.86, -39.26)
CIE-LCHlch(27.66, 40.48, 284.10°)
OKLaboklab(37.94% -0.0235 -0.1128)
OKLCHoklch(37.94% 0.115 258.2)
XYZxyz(5.9072, 5.3319, 20.4524)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15407E #7E5315
analogous
#15757E #15407E #1F157E
triadic
#15407E #7E1540 #407E15
tetradic
#15407E #7E1575 #7E5315 #157E1F
square
#15407E #7E1575 #7E5315 #157E1F
split-complementary
#15407E #7E1F15 #757E15
monochromatic
#040D1A #0C254A #15407E #1E5BB2 #3177DD

Accessibility & contrast

On white

10.16
#15407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#15407E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15407E
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15407E#FFFFFF#000000##FFFFFF
##15407E1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4680
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #15407e;
/* rgb */ color: rgb(21, 64, 126);
/* oklch */ color: oklch(37.9% 0.115 258.2);
Tailwind
colors: {
  custom: {
    50: '#6574a4',
    500: '#15407e',
    950: '#000000',
  },
}
SCSS
$custom: #15407e;
$custom-light: #6574a4;
$custom-dark: #000000;
JSON
{
  "hex": "#15407e",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 215.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37938,
    "c": 0.11526,
    "h": 258.2
  },
  "luminance": 0.05333
}

Semantic roles & 50–950 ramp

primary
#15407E
secondary
#B3823C
accent
#A43AEE
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #15407E

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

Preview Lab → · Contrast checker → · Palette generator →

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