#15407F#15407F

#15407F is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.117 H 258.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#15407F
RGBrgb(21, 64, 127)
HSLhsl(216, 72%, 29%)
HSVhsv(216, 83%, 50%)
CMYKcmyk(83.5%, 49.6%, 0%, 50.2%)
CIE-LABlab(27.73, 10.28, -39.78)
CIE-LCHlch(27.73, 41.08, 284.49°)
OKLaboklab(38.02% -0.0233 -0.1143)
OKLCHoklch(38.02% 0.117 258.5)
XYZxyz(5.9720, 5.3578, 20.7940)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15407F #7F5415
analogous
#15757F #15407F #1F157F
triadic
#15407F #7F1540 #407F15
tetradic
#15407F #7F1575 #7F5415 #157F1F
square
#15407F #7F1575 #7F5415 #157F1F
split-complementary
#15407F #7F1F15 #757F15
monochromatic
#040D1A #0C264A #15407F #1E5AB4 #3177DD

Accessibility & contrast

On white

10.14
#15407F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15407F
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15407F#FFFFFF#000000##FFFFFF
##15407F1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15407f;
/* rgb */ color: rgb(21, 64, 127);
/* oklch */ color: oklch(38.0% 0.117 258.5);
Tailwind
colors: {
  custom: {
    50: '#6574a5',
    500: '#15407f',
    950: '#000000',
  },
}
SCSS
$custom: #15407f;
$custom-light: #6574a5;
$custom-dark: #000000;
JSON
{
  "hex": "#15407f",
  "rgb": {
    "r": 21,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 215.66,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38015,
    "c": 0.1167,
    "h": 258.5
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#15407F
secondary
#B4833C
accent
#A539EE
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #15407F

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

Preview Lab → · Contrast checker → · Palette generator →

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