#15137D#15137D

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

Color values

HEX#15137D
RGBrgb(21, 19, 125)
HSLhsl(241, 74%, 28%)
HSVhsv(241, 85%, 49%)
CMYKcmyk(83.2%, 84.8%, 0%, 51%)
CIE-LABlab(16.03, 39.30, -57.66)
CIE-LCHlch(16.03, 69.78, 304.28°)
OKLaboklab(29.33% 0.0013 -0.1669)
OKLCHoklch(29.33% 0.167 270.4)
XYZxyz(4.2425, 2.1054, 19.5808)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15137D #7B7D13
analogous
#13467D #15137D #4A137D
triadic
#15137D #7D1513 #137D15
tetradic
#15137D #7D1346 #7B7D13 #137D4A
square
#15137D #7D1346 #7B7D13 #137D4A
split-complementary
#15137D #7D4A13 #467D13
monochromatic
#04041B #0C0B48 #15137D #1E1BB2 #2F2CDF

Accessibility & contrast

On white

14.78
#15137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#15137D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15137D
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15137D#FFFFFF#000000##FFFFFF
##15137D1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00227B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #15137d;
/* rgb */ color: rgb(21, 19, 125);
/* oklch */ color: oklch(29.3% 0.167 270.4);
Tailwind
colors: {
  custom: {
    50: '#6954a4',
    500: '#15137d',
    950: '#000000',
  },
}
SCSS
$custom: #15137d;
$custom-light: #6954a4;
$custom-dark: #000000;
JSON
{
  "hex": "#15137d",
  "rgb": {
    "r": 21,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 241.132,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29331,
    "c": 0.16693,
    "h": 270.4
  },
  "luminance": 0.02106
}

Semantic roles & 50–950 ramp

primary
#15137D
secondary
#B0B339
accent
#F038ED
background
#F6F5FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #15137D

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

Preview Lab → · Contrast checker → · Palette generator →

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