#15316E#15316E

#15316E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.112 H 263.1°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#15316E
RGBrgb(21, 49, 110)
HSLhsl(221, 68%, 26%)
HSVhsv(221, 81%, 43%)
CMYKcmyk(80.9%, 55.5%, 0%, 56.9%)
CIE-LABlab(21.88, 13.80, -38.44)
CIE-LCHlch(21.88, 40.84, 289.75°)
OKLaboklab(33.13% -0.0133 -0.1107)
OKLCHoklch(33.13% 0.112 263.1)
XYZxyz(4.2210, 3.4814, 15.1983)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15316E #6E5215
analogous
#155D6E #15316E #26156E
triadic
#15316E #6E1531 #316E15
tetradic
#15316E #6E155D #6E5215 #156E26
square
#15316E #6E155D #6E5215 #156E26
split-complementary
#15316E #6E2615 #5D6E15
monochromatic
#050B1A #0B1A3B #15316E #1F48A1 #295FD5

Accessibility & contrast

On white

12.38
#15316E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#15316E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15316E
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15316E#FFFFFF#000000##FFFFFF
##15316E1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053970
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #15316e;
/* rgb */ color: rgb(21, 49, 110);
/* oklch */ color: oklch(33.1% 0.112 263.1);
Tailwind
colors: {
  custom: {
    50: '#626898',
    500: '#15316e',
    950: '#000000',
  },
}
SCSS
$custom: #15316e;
$custom-light: #626898;
$custom-dark: #000000;
JSON
{
  "hex": "#15316e",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 221.124,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33134,
    "c": 0.11154,
    "h": 263.1
  },
  "luminance": 0.03482
}

Semantic roles & 50–950 ramp

primary
#15316E
secondary
#A4833A
accent
#B43DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #15316E

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

Preview Lab → · Contrast checker → · Palette generator →

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