#15387E#15387E

#15387E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.1% C 0.126 H 262.2°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#15387E
RGBrgb(21, 56, 126)
HSLhsl(220, 71%, 29%)
HSVhsv(220, 83%, 49%)
CMYKcmyk(83.3%, 55.6%, 0%, 50.6%)
CIE-LABlab(25.24, 15.49, -43.18)
CIE-LCHlch(25.24, 45.87, 289.74°)
OKLaboklab(36.09% -0.0171 -0.1245)
OKLCHoklch(36.09% 0.126 262.2)
XYZxyz(5.4880, 4.4935, 20.3127)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15387E #7E5B15
analogous
#156D7E #15387E #27157E
triadic
#15387E #7E1538 #387E15
tetradic
#15387E #7E156D #7E5B15 #157E27
square
#15387E #7E156D #7E5B15 #157E27
split-complementary
#15387E #7E2715 #6D7E15
monochromatic
#040C1A #0C214A #15387E #1E4FB2 #316ADD

Accessibility & contrast

On white

11.06
#15387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15387E
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15387E#FFFFFF#000000##FFFFFF
##15387E1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15387e;
/* rgb */ color: rgb(21, 56, 126);
/* oklch */ color: oklch(36.1% 0.126 262.2);
Tailwind
colors: {
  custom: {
    50: '#666ea4',
    500: '#15387e',
    950: '#000000',
  },
}
SCSS
$custom: #15387e;
$custom-light: #666ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#15387e",
  "rgb": {
    "r": 21,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 220,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36088,
    "c": 0.12569,
    "h": 262.2
  },
  "luminance": 0.04494
}

Semantic roles & 50–950 ramp

primary
#15387E
secondary
#B38B3C
accent
#B23AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #15387E

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

Preview Lab → · Contrast checker → · Palette generator →

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