#15316C#15316C

#15316C is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.109 H 262.8°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#15316C
RGBrgb(21, 49, 108)
HSLhsl(221, 67%, 25%)
HSVhsv(221, 81%, 42%)
CMYKcmyk(80.6%, 54.6%, 0%, 57.6%)
CIE-LABlab(21.72, 12.96, -37.41)
CIE-LCHlch(21.72, 39.59, 289.11°)
OKLaboklab(32.97% -0.0136 -0.1077)
OKLCHoklch(32.97% 0.109 262.8)
XYZxyz(4.1134, 3.4383, 14.6313)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15316C #6C5015
analogous
#155C6C #15316C #25156C
triadic
#15316C #6C1531 #316C15
tetradic
#15316C #6C155C #6C5015 #156C25
square
#15316C #6C155C #6C5015 #156C25
split-complementary
#15316C #6C2515 #5C6C15
monochromatic
#050C1A #0B1A39 #15316C #1F489F #295FD2

Accessibility & contrast

On white

12.44
#15316C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#15316C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15316C
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15316C#FFFFFF#000000##FFFFFF
##15316C1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09386E
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #15316c;
/* rgb */ color: rgb(21, 49, 108);
/* oklch */ color: oklch(33.0% 0.109 262.8);
Tailwind
colors: {
  custom: {
    50: '#616897',
    500: '#15316c',
    950: '#000000',
  },
}
SCSS
$custom: #15316c;
$custom-light: #616897;
$custom-dark: #000000;
JSON
{
  "hex": "#15316c",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 220.69,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32965,
    "c": 0.10854,
    "h": 262.8
  },
  "luminance": 0.03439
}

Semantic roles & 50–950 ramp

primary
#15316C
secondary
#A3813A
accent
#B33DEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #15316C

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

Preview Lab → · Contrast checker → · Palette generator →

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