#15317B#15317B

#15317B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.3% C 0.131 H 264.6°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#15317B
RGBrgb(21, 49, 123)
HSLhsl(224, 71%, 28%)
HSVhsv(224, 83%, 48%)
CMYKcmyk(82.9%, 60.2%, 0%, 51.8%)
CIE-LABlab(22.95, 19.23, -45.01)
CIE-LCHlch(22.95, 48.94, 293.14°)
OKLaboklab(34.28% -0.0123 -0.13)
OKLCHoklch(34.28% 0.131 264.6)
XYZxyz(4.9815, 3.7855, 19.2032)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15317B #7B5F15
analogous
#15647B #15317B #2C157B
triadic
#15317B #7B1531 #317B15
tetradic
#15317B #7B1564 #7B5F15 #157B2C
square
#15317B #7B1564 #7B5F15 #157B2C
split-complementary
#15317B #7B2C15 #647B15
monochromatic
#040A1A #0C1C47 #15317B #1E46AF #2F5EDB

Accessibility & contrast

On white

11.95
#15317B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15317B
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15317B#FFFFFF#000000##FFFFFF
##15317B1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15317b;
/* rgb */ color: rgb(21, 49, 123);
/* oklch */ color: oklch(34.3% 0.131 264.6);
Tailwind
colors: {
  custom: {
    50: '#6568a2',
    500: '#15317b',
    950: '#000000',
  },
}
SCSS
$custom: #15317b;
$custom-light: #6568a2;
$custom-dark: #000000;
JSON
{
  "hex": "#15317b",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 223.529,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34281,
    "c": 0.13061,
    "h": 264.6
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#15317B
secondary
#B0903B
accent
#BC3AEE
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #15317B

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

Preview Lab → · Contrast checker → · Palette generator →

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