#15387A#15387A

#15387A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.120 H 261.6°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#15387A
RGBrgb(21, 56, 122)
HSLhsl(219, 71%, 28%)
HSVhsv(219, 83%, 48%)
CMYKcmyk(82.8%, 54.1%, 0%, 52.2%)
CIE-LABlab(24.93, 13.82, -41.16)
CIE-LCHlch(24.93, 43.42, 288.56°)
OKLaboklab(35.75% -0.0176 -0.1186)
OKLCHoklch(35.75% 0.12 261.6)
XYZxyz(5.2350, 4.3923, 18.9805)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15387A #7A5715
analogous
#156A7A #15387A #25157A
triadic
#15387A #7A1538 #387A15
tetradic
#15387A #7A156A #7A5715 #157A25
square
#15387A #7A156A #7A5715 #157A25
split-complementary
#15387A #7A2515 #6A7A15
monochromatic
#040C1A #0C2046 #15387A #1E50AE #2E6ADB

Accessibility & contrast

On white

11.18
#15387A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15387A
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15387A#FFFFFF#000000##FFFFFF
##15387A1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A407C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #15387a;
/* rgb */ color: rgb(21, 56, 122);
/* oklch */ color: oklch(35.8% 0.120 261.6);
Tailwind
colors: {
  custom: {
    50: '#646ea1',
    500: '#15387a',
    950: '#000000',
  },
}
SCSS
$custom: #15387a;
$custom-light: #646ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#15387a",
  "rgb": {
    "r": 21,
    "g": 56,
    "b": 122
  },
  "hsl": {
    "h": 219.208,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35752,
    "c": 0.11988,
    "h": 261.6
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#15387A
secondary
#AF873B
accent
#AF3AED
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #15387A

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

Preview Lab → · Contrast checker → · Palette generator →

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