#15137C#15137C

#15137C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.166 H 270.5°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#15137C
RGBrgb(21, 19, 124)
HSLhsl(241, 73%, 28%)
HSVhsv(241, 85%, 49%)
CMYKcmyk(83.1%, 84.7%, 0%, 51.4%)
CIE-LABlab(15.90, 38.97, -57.24)
CIE-LCHlch(15.90, 69.25, 304.25°)
OKLaboklab(29.2% 0.0015 -0.1657)
OKLCHoklch(29.2% 0.166 270.5)
XYZxyz(4.1790, 2.0799, 19.2461)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15137C #7A7C13
analogous
#13457C #15137C #49137C
triadic
#15137C #7C1513 #137C15
tetradic
#15137C #7C1345 #7A7C13 #137C49
square
#15137C #7C1345 #7A7C13 #137C49
split-complementary
#15137C #7C4913 #457C13
monochromatic
#04041B #0C0B47 #15137C #1E1BB1 #2E2BDF

Accessibility & contrast

On white

14.83
#15137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15137C
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15137C#FFFFFF#000000##FFFFFF
##15137C1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15137c;
/* rgb */ color: rgb(21, 19, 124);
/* oklch */ color: oklch(29.2% 0.166 270.5);
Tailwind
colors: {
  custom: {
    50: '#6954a3',
    500: '#15137c',
    950: '#000000',
  },
}
SCSS
$custom: #15137c;
$custom-light: #6954a3;
$custom-dark: #000000;
JSON
{
  "hex": "#15137c",
  "rgb": {
    "r": 21,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 241.143,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29204,
    "c": 0.16571,
    "h": 270.5
  },
  "luminance": 0.0208
}

Semantic roles & 50–950 ramp

primary
#15137C
secondary
#AFB239
accent
#F038ED
background
#F6F4FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #15137C

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

Preview Lab → · Contrast checker → · Palette generator →

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