#15316F#15316F

#15316F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.113 H 263.3°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#15316F
RGBrgb(21, 49, 111)
HSLhsl(221, 68%, 26%)
HSVhsv(221, 81%, 44%)
CMYKcmyk(81.1%, 55.9%, 0%, 56.5%)
CIE-LABlab(21.96, 14.22, -38.96)
CIE-LCHlch(21.96, 41.47, 290.06°)
OKLaboklab(33.22% -0.0132 -0.1122)
OKLCHoklch(33.22% 0.113 263.3)
XYZxyz(4.2758, 3.5033, 15.4867)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15316F #6F5315
analogous
#155E6F #15316F #26156F
triadic
#15316F #6F1531 #316F15
tetradic
#15316F #6F155E #6F5315 #156F26
square
#15316F #6F155E #6F5315 #156F26
split-complementary
#15316F #6F2615 #5E6F15
monochromatic
#050B1A #0B1A3C #15316F #1F48A2 #285ED6

Accessibility & contrast

On white

12.35
#15316F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15316F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15316F#FFFFFF#000000##FFFFFF
##15316F1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033971
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #15316f;
/* rgb */ color: rgb(21, 49, 111);
/* oklch */ color: oklch(33.2% 0.113 263.3);
Tailwind
colors: {
  custom: {
    50: '#626899',
    500: '#15316f',
    950: '#000000',
  },
}
SCSS
$custom: #15316f;
$custom-light: #626899;
$custom-dark: #000000;
JSON
{
  "hex": "#15316f",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 221.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33219,
    "c": 0.11303,
    "h": 263.3
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#15316F
secondary
#A5843A
accent
#B53DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #15316F

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

Preview Lab → · Contrast checker → · Palette generator →

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