#15397B#15397B

#15397B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.1% C 0.120 H 261.2°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#15397B
RGBrgb(21, 57, 123)
HSLhsl(219, 71%, 28%)
HSVhsv(219, 83%, 48%)
CMYKcmyk(82.9%, 53.7%, 0%, 51.8%)
CIE-LABlab(25.31, 13.53, -41.18)
CIE-LCHlch(25.31, 43.34, 288.19°)
OKLaboklab(36.06% -0.0183 -0.1186)
OKLCHoklch(36.06% 0.12 261.2)
XYZxyz(5.3462, 4.5151, 19.3248)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15397B #7B5715
analogous
#156C7B #15397B #24157B
triadic
#15397B #7B1539 #397B15
tetradic
#15397B #7B156C #7B5715 #157B24
square
#15397B #7B156C #7B5715 #157B24
split-complementary
#15397B #7B2415 #6C7B15
monochromatic
#040C1A #0C2147 #15397B #1E51AF #2F6CDB

Accessibility & contrast

On white

11.03
#15397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#15397B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15397B
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15397B#FFFFFF#000000##FFFFFF
##15397B1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #15397b;
/* rgb */ color: rgb(21, 57, 123);
/* oklch */ color: oklch(36.1% 0.120 261.2);
Tailwind
colors: {
  custom: {
    50: '#656ea2',
    500: '#15397b',
    950: '#000000',
  },
}
SCSS
$custom: #15397b;
$custom-light: #656ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#15397b",
  "rgb": {
    "r": 21,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 218.824,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36064,
    "c": 0.12002,
    "h": 261.2
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#15397B
secondary
#B0873B
accent
#AE3AEE
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #15397B

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

Preview Lab → · Contrast checker → · Palette generator →

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