#15387D#15387D

#15387D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.0% C 0.124 H 262.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#15387D
RGBrgb(21, 56, 125)
HSLhsl(220, 71%, 29%)
HSVhsv(220, 83%, 49%)
CMYKcmyk(83.2%, 55.2%, 0%, 51%)
CIE-LABlab(25.16, 15.08, -42.67)
CIE-LCHlch(25.16, 45.26, 289.46°)
OKLaboklab(36% -0.0172 -0.123)
OKLCHoklch(36% 0.124 262)
XYZxyz(5.4238, 4.4678, 19.9746)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15387D #7D5A15
analogous
#156C7D #15387D #26157D
triadic
#15387D #7D1538 #387D15
tetradic
#15387D #7D156C #7D5A15 #157D26
square
#15387D #7D156C #7D5A15 #157D26
split-complementary
#15387D #7D2615 #6C7D15
monochromatic
#040C1A #0C2149 #15387D #1E4FB1 #306ADC

Accessibility & contrast

On white

11.09
#15387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#15387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15387D
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15387D#FFFFFF#000000##FFFFFF
##15387D1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02417F
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #15387d;
/* rgb */ color: rgb(21, 56, 125);
/* oklch */ color: oklch(36.0% 0.124 262.0);
Tailwind
colors: {
  custom: {
    50: '#656ea3',
    500: '#15387d',
    950: '#000000',
  },
}
SCSS
$custom: #15387d;
$custom-light: #656ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#15387d",
  "rgb": {
    "r": 21,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 219.808,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36003,
    "c": 0.12424,
    "h": 262
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#15387D
secondary
#B28A3C
accent
#B13AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #15387D

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

Preview Lab → · Contrast checker → · Palette generator →

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