#15137E#15137E

#15137E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.168 H 270.4°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#15137E
RGBrgb(21, 19, 126)
HSLhsl(241, 74%, 28%)
HSVhsv(241, 85%, 49%)
CMYKcmyk(83.3%, 84.9%, 0%, 50.6%)
CIE-LABlab(16.16, 39.63, -58.09)
CIE-LCHlch(16.16, 70.32, 304.31°)
OKLaboklab(29.46% 0.0011 -0.1681)
OKLCHoklch(29.46% 0.168 270.4)
XYZxyz(4.3068, 2.1310, 19.9190)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15137E #7C7E13
analogous
#13467E #15137E #4A137E
triadic
#15137E #7E1513 #137E15
tetradic
#15137E #7E1346 #7C7E13 #137E4A
square
#15137E #7E1346 #7C7E13 #137E4A
split-complementary
#15137E #7E4A13 #467E13
monochromatic
#04041B #0C0B49 #15137E #1E1BB3 #302CDF

Accessibility & contrast

On white

14.72
#15137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#15137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15137E
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15137E#FFFFFF#000000##FFFFFF
##15137E1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00227C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #15137e;
/* rgb */ color: rgb(21, 19, 126);
/* oklch */ color: oklch(29.5% 0.168 270.4);
Tailwind
colors: {
  custom: {
    50: '#6954a5',
    500: '#15137e',
    950: '#000000',
  },
}
SCSS
$custom: #15137e;
$custom-light: #6954a5;
$custom-dark: #000000;
JSON
{
  "hex": "#15137e",
  "rgb": {
    "r": 21,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 241.121,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29458,
    "c": 0.16814,
    "h": 270.4
  },
  "luminance": 0.02132
}

Semantic roles & 50–950 ramp

primary
#15137E
secondary
#B1B439
accent
#F037ED
background
#F6F5FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #15137E

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

Preview Lab → · Contrast checker → · Palette generator →

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