#15316A#15316A

#15316A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.106 H 262.5°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#15316A
RGBrgb(21, 49, 106)
HSLhsl(220, 67%, 25%)
HSVhsv(220, 80%, 42%)
CMYKcmyk(80.2%, 53.8%, 0%, 58.4%)
CIE-LABlab(21.57, 12.12, -36.36)
CIE-LCHlch(21.57, 38.33, 288.43°)
OKLaboklab(32.8% -0.0138 -0.1046)
OKLCHoklch(32.8% 0.106 262.5)
XYZxyz(4.0082, 3.3962, 14.0772)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15316A #6A4E15
analogous
#155C6A #15316A #23156A
triadic
#15316A #6A1531 #316A15
tetradic
#15316A #6A155C #6A4E15 #156A23
square
#15316A #6A155C #6A4E15 #156A23
split-complementary
#15316A #6A2315 #5C6A15
monochromatic
#050C1A #0B1937 #15316A #1F499D #2960D0

Accessibility & contrast

On white

12.50
#15316A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #15316A
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15316A#FFFFFF#000000##FFFFFF
##15316A1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D386C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#003F48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #15316a;
/* rgb */ color: rgb(21, 49, 106);
/* oklch */ color: oklch(32.8% 0.106 262.5);
Tailwind
colors: {
  custom: {
    50: '#616895',
    500: '#15316a',
    950: '#000000',
  },
}
SCSS
$custom: #15316a;
$custom-light: #616895;
$custom-dark: #000000;
JSON
{
  "hex": "#15316a",
  "rgb": {
    "r": 21,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 220.235,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32798,
    "c": 0.10553,
    "h": 262.5
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#15316A
secondary
#A17F3A
accent
#B13EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #15316A

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

Preview Lab → · Contrast checker → · Palette generator →

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