#15397E#15397E

#15397E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.3% C 0.124 H 261.7°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#15397E
RGBrgb(21, 57, 126)
HSLhsl(219, 71%, 29%)
HSVhsv(219, 83%, 49%)
CMYKcmyk(83.3%, 54.8%, 0%, 50.6%)
CIE-LABlab(25.54, 14.79, -42.69)
CIE-LCHlch(25.54, 45.18, 289.10°)
OKLaboklab(36.31% -0.0179 -0.1231)
OKLCHoklch(36.31% 0.124 261.7)
XYZxyz(5.5369, 4.5914, 20.3290)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15397E #7E5A15
analogous
#156E7E #15397E #26157E
triadic
#15397E #7E1539 #397E15
tetradic
#15397E #7E156E #7E5A15 #157E26
square
#15397E #7E156E #7E5A15 #157E26
split-complementary
#15397E #7E2615 #6E7E15
monochromatic
#040C1A #0C214A #15397E #1E51B2 #316CDD

Accessibility & contrast

On white

10.95
#15397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#15397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15397E
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15397E#FFFFFF#000000##FFFFFF
##15397E1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054280
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #15397e;
/* rgb */ color: rgb(21, 57, 126);
/* oklch */ color: oklch(36.3% 0.124 261.7);
Tailwind
colors: {
  custom: {
    50: '#666ea4',
    500: '#15397e',
    950: '#000000',
  },
}
SCSS
$custom: #15397e;
$custom-light: #666ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#15397e",
  "rgb": {
    "r": 21,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 219.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36314,
    "c": 0.12437,
    "h": 261.7
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #15397E

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

Preview Lab → · Contrast checker → · Palette generator →

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