#15317C#15317C

#15317C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.132 H 264.7°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#15317C
RGBrgb(21, 49, 124)
HSLhsl(224, 71%, 28%)
HSVhsv(224, 83%, 49%)
CMYKcmyk(83.1%, 60.5%, 0%, 51.4%)
CIE-LABlab(23.04, 19.64, -45.50)
CIE-LCHlch(23.04, 49.56, 293.35°)
OKLaboklab(34.37% -0.0123 -0.1315)
OKLCHoklch(34.37% 0.132 264.7)
XYZxyz(5.0444, 3.8107, 19.5346)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15317C #7C6015
analogous
#15647C #15317C #2C157C
triadic
#15317C #7C1531 #317C15
tetradic
#15317C #7C1564 #7C6015 #157C2C
square
#15317C #7C1564 #7C6015 #157C2C
split-complementary
#15317C #7C2C15 #647C15
monochromatic
#040A1A #0C1C48 #15317C #1E46B0 #305EDC

Accessibility & contrast

On white

11.92
#15317C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#15317C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15317C
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15317C#FFFFFF#000000##FFFFFF
##15317C1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #15317c;
/* rgb */ color: rgb(21, 49, 124);
/* oklch */ color: oklch(34.4% 0.132 264.7);
Tailwind
colors: {
  custom: {
    50: '#6668a3',
    500: '#15317c',
    950: '#000000',
  },
}
SCSS
$custom: #15317c;
$custom-light: #6668a3;
$custom-dark: #000000;
JSON
{
  "hex": "#15317c",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 223.689,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34373,
    "c": 0.13205,
    "h": 264.7
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#15317C
secondary
#B1913C
accent
#BD3AEE
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15317C

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

Preview Lab → · Contrast checker → · Palette generator →

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