#13217E#13217E

#13217E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.155 H 268.0°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#13217E
RGBrgb(19, 33, 126)
HSLhsl(232, 74%, 28%)
HSVhsv(232, 85%, 49%)
CMYKcmyk(84.9%, 73.8%, 0%, 50.6%)
CIE-LABlab(18.94, 31.32, -53.49)
CIE-LCHlch(18.94, 61.99, 300.35°)
OKLaboklab(31.39% -0.0053 -0.155)
OKLCHoklch(31.39% 0.155 268)
XYZxyz(4.5770, 2.7320, 20.0207)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13217E #7E7013
analogous
#13567E #13217E #3B137E
triadic
#13217E #7E1321 #217E13
tetradic
#13217E #7E1356 #7E7013 #137E3B
square
#13217E #7E1356 #7E7013 #137E3B
split-complementary
#13217E #7E3B13 #567E13
monochromatic
#04071B #0B1349 #13217E #1B2FB3 #2C44DF

Accessibility & contrast

On white

13.58
#13217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#13217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13217E
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13217E#FFFFFF#000000##FFFFFF
##13217E1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #13217e;
/* rgb */ color: rgb(19, 33, 126);
/* oklch */ color: oklch(31.4% 0.155 268.0);
Tailwind
colors: {
  custom: {
    50: '#675da4',
    500: '#13217e',
    950: '#000000',
  },
}
SCSS
$custom: #13217e;
$custom-light: #675da4;
$custom-dark: #000000;
JSON
{
  "hex": "#13217e",
  "rgb": {
    "r": 19,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 232.15,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31394,
    "c": 0.15511,
    "h": 268
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#13217E
secondary
#B4A439
accent
#D837F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #13217E

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

Preview Lab → · Contrast checker → · Palette generator →

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