#15397F#15397F

#15397F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.126 H 261.9°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#15397F
RGBrgb(21, 57, 127)
HSLhsl(220, 72%, 29%)
HSVhsv(220, 83%, 50%)
CMYKcmyk(83.5%, 55.1%, 0%, 50.2%)
CIE-LABlab(25.62, 15.20, -43.20)
CIE-LCHlch(25.62, 45.79, 289.39°)
OKLaboklab(36.4% -0.0178 -0.1246)
OKLCHoklch(36.4% 0.126 261.9)
XYZxyz(5.6018, 4.6173, 20.6706)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15397F #7F5B15
analogous
#156E7F #15397F #26157F
triadic
#15397F #7F1539 #397F15
tetradic
#15397F #7F156E #7F5B15 #157F26
square
#15397F #7F156E #7F5B15 #157F26
split-complementary
#15397F #7F2615 #6E7F15
monochromatic
#040C1A #0C214A #15397F #1E51B4 #316CDD

Accessibility & contrast

On white

10.92
#15397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15397F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15397F#FFFFFF#000000##FFFFFF
##15397F1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024281
Deuteranopia (green-blind)
#00387E
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #15397f;
/* rgb */ color: rgb(21, 57, 127);
/* oklch */ color: oklch(36.4% 0.126 261.9);
Tailwind
colors: {
  custom: {
    50: '#666ea5',
    500: '#15397f',
    950: '#000000',
  },
}
SCSS
$custom: #15397f;
$custom-light: #666ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#15397f",
  "rgb": {
    "r": 21,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 219.623,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36398,
    "c": 0.12582,
    "h": 261.9
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#15397F
secondary
#B48B3C
accent
#B139EE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #15397F

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

Preview Lab → · Contrast checker → · Palette generator →

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