#15387F#15387F

#15387F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.127 H 262.3°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#15387F
RGBrgb(21, 56, 127)
HSLhsl(220, 72%, 29%)
HSVhsv(220, 83%, 50%)
CMYKcmyk(83.5%, 55.9%, 0%, 50.2%)
CIE-LABlab(25.32, 15.91, -43.68)
CIE-LCHlch(25.32, 46.48, 290.02°)
OKLaboklab(36.17% -0.017 -0.126)
OKLCHoklch(36.17% 0.127 262.3)
XYZxyz(5.5528, 4.5194, 20.6542)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15387F #7F5C15
analogous
#156D7F #15387F #27157F
triadic
#15387F #7F1538 #387F15
tetradic
#15387F #7F156D #7F5C15 #157F27
square
#15387F #7F156D #7F5C15 #157F27
split-complementary
#15387F #7F2715 #6D7F15
monochromatic
#040C1A #0C214A #15387F #1E4FB4 #316ADD

Accessibility & contrast

On white

11.03
#15387F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#15387F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15387F
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15387F#FFFFFF#000000##FFFFFF
##15387F1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004181
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #15387f;
/* rgb */ color: rgb(21, 56, 127);
/* oklch */ color: oklch(36.2% 0.127 262.3);
Tailwind
colors: {
  custom: {
    50: '#666ea5',
    500: '#15387f',
    950: '#000000',
  },
}
SCSS
$custom: #15387f;
$custom-light: #666ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#15387f",
  "rgb": {
    "r": 21,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 220.189,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36173,
    "c": 0.12714,
    "h": 262.3
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#15387F
secondary
#B48C3C
accent
#B339EE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #15387F

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

Preview Lab → · Contrast checker → · Palette generator →

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