#15316B#15316B

#15316B is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.107 H 262.6°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#15316B
RGBrgb(21, 49, 107)
HSLhsl(220, 67%, 25%)
HSVhsv(220, 80%, 42%)
CMYKcmyk(80.4%, 54.2%, 0%, 58%)
CIE-LABlab(21.64, 12.54, -36.88)
CIE-LCHlch(21.64, 38.96, 288.77°)
OKLaboklab(32.88% -0.0137 -0.1062)
OKLCHoklch(32.88% 0.107 262.6)
XYZxyz(4.0605, 3.4171, 14.3526)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15316B #6B4F15
analogous
#155C6B #15316B #24156B
triadic
#15316B #6B1531 #316B15
tetradic
#15316B #6B155C #6B4F15 #156B24
square
#15316B #6B155C #6B4F15 #156B24
split-complementary
#15316B #6B2415 #5C6B15
monochromatic
#050C1A #0B1A38 #15316B #1F489E #2960D1

Accessibility & contrast

On white

12.47
#15316B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#15316B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15316B
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15316B#FFFFFF#000000##FFFFFF
##15316B1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B386D
Deuteranopia (green-blind)
#00306A
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #15316b;
/* rgb */ color: rgb(21, 49, 107);
/* oklch */ color: oklch(32.9% 0.107 262.6);
Tailwind
colors: {
  custom: {
    50: '#616896',
    500: '#15316b',
    950: '#000000',
  },
}
SCSS
$custom: #15316b;
$custom-light: #616896;
$custom-dark: #000000;
JSON
{
  "hex": "#15316b",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 107
  },
  "hsl": {
    "h": 220.465,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32881,
    "c": 0.10704,
    "h": 262.6
  },
  "luminance": 0.03418
}

Semantic roles & 50–950 ramp

primary
#15316B
secondary
#A2803A
accent
#B23EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #15316B

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

Preview Lab → · Contrast checker → · Palette generator →

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