#15316D#15316D

#15316D is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.110 H 263.0°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#15316D
RGBrgb(21, 49, 109)
HSLhsl(221, 68%, 25%)
HSVhsv(221, 81%, 43%)
CMYKcmyk(80.7%, 55%, 0%, 57.3%)
CIE-LABlab(21.80, 13.38, -37.92)
CIE-LCHlch(21.80, 40.22, 289.43°)
OKLaboklab(33.05% -0.0135 -0.1092)
OKLCHoklch(33.05% 0.11 263)
XYZxyz(4.1669, 3.4597, 14.9132)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15316D #6D5115
analogous
#155D6D #15316D #25156D
triadic
#15316D #6D1531 #316D15
tetradic
#15316D #6D155D #6D5115 #156D25
square
#15316D #6D155D #6D5115 #156D25
split-complementary
#15316D #6D2515 #5D6D15
monochromatic
#050C1A #0B1A3A #15316D #1F48A0 #295FD4

Accessibility & contrast

On white

12.41
#15316D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15316D
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15316D#FFFFFF#000000##FFFFFF
##15316D1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07386F
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #15316d;
/* rgb */ color: rgb(21, 49, 109);
/* oklch */ color: oklch(33.0% 0.110 263.0);
Tailwind
colors: {
  custom: {
    50: '#616897',
    500: '#15316d',
    950: '#000000',
  },
}
SCSS
$custom: #15316d;
$custom-light: #616897;
$custom-dark: #000000;
JSON
{
  "hex": "#15316d",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 109
  },
  "hsl": {
    "h": 220.909,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33049,
    "c": 0.11005,
    "h": 263
  },
  "luminance": 0.0346
}

Semantic roles & 50–950 ramp

primary
#15316D
secondary
#A3823A
accent
#B33DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #15316D

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

Preview Lab → · Contrast checker → · Palette generator →

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