#15397A#15397A

#15397A is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.119 H 261.1°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#15397A
RGBrgb(21, 57, 122)
HSLhsl(219, 71%, 28%)
HSVhsv(219, 83%, 48%)
CMYKcmyk(82.8%, 53.3%, 0%, 52.2%)
CIE-LABlab(25.23, 13.11, -40.67)
CIE-LCHlch(25.23, 42.73, 287.87°)
OKLaboklab(35.98% -0.0184 -0.1171)
OKLCHoklch(35.98% 0.119 261.1)
XYZxyz(5.2840, 4.4902, 18.9968)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15397A #7A5615
analogous
#156B7A #15397A #24157A
triadic
#15397A #7A1539 #397A15
tetradic
#15397A #7A156B #7A5615 #157A24
square
#15397A #7A156B #7A5615 #157A24
split-complementary
#15397A #7A2415 #6B7A15
monochromatic
#040C1A #0C2146 #15397A #1E51AE #2E6CDB

Accessibility & contrast

On white

11.06
#15397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15397A
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15397A#FFFFFF#000000##FFFFFF
##15397A1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004953
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #15397a;
/* rgb */ color: rgb(21, 57, 122);
/* oklch */ color: oklch(36.0% 0.119 261.1);
Tailwind
colors: {
  custom: {
    50: '#646ea1',
    500: '#15397a',
    950: '#000000',
  },
}
SCSS
$custom: #15397a;
$custom-light: #646ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#15397a",
  "rgb": {
    "r": 21,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 218.614,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.35982,
    "c": 0.11856,
    "h": 261.1
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#15397A
secondary
#AF863B
accent
#AE3AED
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #15397A

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

Preview Lab → · Contrast checker → · Palette generator →

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