#15137F#15137F

#15137F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.169 H 270.3°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#15137F
RGBrgb(21, 19, 127)
HSLhsl(241, 74%, 29%)
HSVhsv(241, 85%, 50%)
CMYKcmyk(83.5%, 85%, 0%, 50.2%)
CIE-LABlab(16.29, 39.96, -58.51)
CIE-LCHlch(16.29, 70.85, 304.33°)
OKLaboklab(29.59% 0.0008 -0.1694)
OKLCHoklch(29.59% 0.169 270.3)
XYZxyz(4.3716, 2.1570, 20.2605)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15137F #7D7F13
analogous
#13477F #15137F #4B137F
triadic
#15137F #7F1513 #137F15
tetradic
#15137F #7F1347 #7D7F13 #137F4B
square
#15137F #7F1347 #7D7F13 #137F4B
split-complementary
#15137F #7F4B13 #477F13
monochromatic
#04041B #0C0B4A #15137F #1E1BB4 #302DE0

Accessibility & contrast

On white

14.67
#15137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15137F
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15137F#FFFFFF#000000##FFFFFF
##15137F1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #15137f;
/* rgb */ color: rgb(21, 19, 127);
/* oklch */ color: oklch(29.6% 0.169 270.3);
Tailwind
colors: {
  custom: {
    50: '#6954a5',
    500: '#15137f',
    950: '#000000',
  },
}
SCSS
$custom: #15137f;
$custom-light: #6954a5;
$custom-dark: #000000;
JSON
{
  "hex": "#15137f",
  "rgb": {
    "r": 21,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 241.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.29585,
    "c": 0.16936,
    "h": 270.3
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#15137F
secondary
#B2B439
accent
#F137ED
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #15137F

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

Preview Lab → · Contrast checker → · Palette generator →

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