#15397C#15397C

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

Color values

HEX#15397C
RGBrgb(21, 57, 124)
HSLhsl(219, 71%, 28%)
HSVhsv(219, 83%, 49%)
CMYKcmyk(83.1%, 54%, 0%, 51.4%)
CIE-LABlab(25.38, 13.95, -41.68)
CIE-LCHlch(25.38, 43.96, 288.50°)
OKLaboklab(36.15% -0.0181 -0.1201)
OKLCHoklch(36.15% 0.121 261.4)
XYZxyz(5.4092, 4.5403, 19.6561)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15397C #7C5815
analogous
#156C7C #15397C #24157C
triadic
#15397C #7C1539 #397C15
tetradic
#15397C #7C156C #7C5815 #157C24
square
#15397C #7C156C #7C5815 #157C24
split-complementary
#15397C #7C2415 #6C7C15
monochromatic
#040C1A #0C2148 #15397C #1E51B0 #306CDC

Accessibility & contrast

On white

11.01
#15397C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15397C
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15397C#FFFFFF#000000##FFFFFF
##15397C1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15397c;
/* rgb */ color: rgb(21, 57, 124);
/* oklch */ color: oklch(36.1% 0.121 261.4);
Tailwind
colors: {
  custom: {
    50: '#656ea2',
    500: '#15397c',
    950: '#000000',
  },
}
SCSS
$custom: #15397c;
$custom-light: #656ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#15397c",
  "rgb": {
    "r": 21,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 219.029,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36147,
    "c": 0.12147,
    "h": 261.4
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#15397C
secondary
#B1883C
accent
#AF3AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #15397C

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

Preview Lab → · Contrast checker → · Palette generator →

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