#15397D#15397D

#15397D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.2% C 0.123 H 261.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#15397D
RGBrgb(21, 57, 125)
HSLhsl(219, 71%, 29%)
HSVhsv(219, 83%, 49%)
CMYKcmyk(83.2%, 54.4%, 0%, 51%)
CIE-LABlab(25.46, 14.37, -42.19)
CIE-LCHlch(25.46, 44.57, 288.81°)
OKLaboklab(36.23% -0.018 -0.1216)
OKLCHoklch(36.23% 0.123 261.6)
XYZxyz(5.4727, 4.5657, 19.9909)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15397D #7D5915
analogous
#156D7D #15397D #25157D
triadic
#15397D #7D1539 #397D15
tetradic
#15397D #7D156D #7D5915 #157D25
square
#15397D #7D156D #7D5915 #157D25
split-complementary
#15397D #7D2515 #6D7D15
monochromatic
#040C1A #0C2149 #15397D #1E51B1 #306CDC

Accessibility & contrast

On white

10.98
#15397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#15397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15397D
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15397D#FFFFFF#000000##FFFFFF
##15397D1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07417F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #15397d;
/* rgb */ color: rgb(21, 57, 125);
/* oklch */ color: oklch(36.2% 0.123 261.6);
Tailwind
colors: {
  custom: {
    50: '#656ea3',
    500: '#15397d',
    950: '#000000',
  },
}
SCSS
$custom: #15397d;
$custom-light: #656ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#15397d",
  "rgb": {
    "r": 21,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 219.231,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3623,
    "c": 0.12293,
    "h": 261.6
  },
  "luminance": 0.04566
}

Semantic roles & 50–950 ramp

primary
#15397D
secondary
#B2893C
accent
#B03AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #15397D

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

Preview Lab → · Contrast checker → · Palette generator →

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