#15387C#15387C

#15387C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.9% C 0.123 H 261.9°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#15387C
RGBrgb(21, 56, 124)
HSLhsl(220, 71%, 28%)
HSVhsv(220, 83%, 49%)
CMYKcmyk(83.1%, 54.8%, 0%, 51.4%)
CIE-LABlab(25.08, 14.66, -42.17)
CIE-LCHlch(25.08, 44.65, 289.17°)
OKLaboklab(35.92% -0.0173 -0.1216)
OKLCHoklch(35.92% 0.123 261.9)
XYZxyz(5.3602, 4.4424, 19.6398)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15387C #7C5915
analogous
#156B7C #15387C #26157C
triadic
#15387C #7C1538 #387C15
tetradic
#15387C #7C156B #7C5915 #157C26
square
#15387C #7C156B #7C5915 #157C26
split-complementary
#15387C #7C2615 #6B7C15
monochromatic
#040C1A #0C2048 #15387C #1E50B0 #306ADC

Accessibility & contrast

On white

11.12
#15387C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15387C
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15387C#FFFFFF#000000##FFFFFF
##15387C1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05407E
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #15387c;
/* rgb */ color: rgb(21, 56, 124);
/* oklch */ color: oklch(35.9% 0.123 261.9);
Tailwind
colors: {
  custom: {
    50: '#656ea2',
    500: '#15387c',
    950: '#000000',
  },
}
SCSS
$custom: #15387c;
$custom-light: #656ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#15387c",
  "rgb": {
    "r": 21,
    "g": 56,
    "b": 124
  },
  "hsl": {
    "h": 219.612,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35919,
    "c": 0.12279,
    "h": 261.9
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15387C

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

Preview Lab → · Contrast checker → · Palette generator →

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