#15387B#15387B

#15387B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.8% C 0.121 H 261.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#15387B
RGBrgb(21, 56, 123)
HSLhsl(219, 71%, 28%)
HSVhsv(219, 83%, 48%)
CMYKcmyk(82.9%, 54.5%, 0%, 51.8%)
CIE-LABlab(25.01, 14.24, -41.66)
CIE-LCHlch(25.01, 44.03, 288.87°)
OKLaboklab(35.84% -0.0175 -0.1201)
OKLCHoklch(35.84% 0.121 261.7)
XYZxyz(5.2973, 4.4172, 19.3085)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15387B #7B5815
analogous
#156B7B #15387B #25157B
triadic
#15387B #7B1538 #387B15
tetradic
#15387B #7B156B #7B5815 #157B25
square
#15387B #7B156B #7B5815 #157B25
split-complementary
#15387B #7B2515 #6B7B15
monochromatic
#040C1A #0C2047 #15387B #1E50AF #2F6ADB

Accessibility & contrast

On white

11.15
#15387B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#15387B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15387B
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15387B#FFFFFF#000000##FFFFFF
##15387B1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07407D
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #15387b;
/* rgb */ color: rgb(21, 56, 123);
/* oklch */ color: oklch(35.8% 0.121 261.7);
Tailwind
colors: {
  custom: {
    50: '#656ea2',
    500: '#15387b',
    950: '#000000',
  },
}
SCSS
$custom: #15387b;
$custom-light: #656ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#15387b",
  "rgb": {
    "r": 21,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 219.412,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.35835,
    "c": 0.12134,
    "h": 261.7
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#15387B
secondary
#B0883B
accent
#B03AEE
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #15387B

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

Preview Lab → · Contrast checker → · Palette generator →

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