#13317E#13317E

#13317E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.135 H 264.2°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#13317E
RGBrgb(19, 49, 126)
HSLhsl(223, 74%, 28%)
HSVhsv(223, 85%, 49%)
CMYKcmyk(84.9%, 61.1%, 0%, 50.6%)
CIE-LABlab(23.14, 20.28, -46.60)
CIE-LCHlch(23.14, 50.82, 293.51°)
OKLaboklab(34.48% -0.0137 -0.1347)
OKLCHoklch(34.48% 0.135 264.2)
XYZxyz(5.1314, 3.8408, 20.2055)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13317E #7E6013
analogous
#13667E #13317E #2B137E
triadic
#13317E #7E1331 #317E13
tetradic
#13317E #7E1366 #7E6013 #137E2B
square
#13317E #7E1366 #7E6013 #137E2B
split-complementary
#13317E #7E2B13 #667E13
monochromatic
#040A1B #0B1C49 #13317E #1B46B3 #2C5EDF

Accessibility & contrast

On white

11.88
#13317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#13317E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13317E
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13317E#FFFFFF#000000##FFFFFF
##13317E1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #13317e;
/* rgb */ color: rgb(19, 49, 126);
/* oklch */ color: oklch(34.5% 0.135 264.2);
Tailwind
colors: {
  custom: {
    50: '#6668a4',
    500: '#13317e',
    950: '#000000',
  },
}
SCSS
$custom: #13317e;
$custom-light: #6668a4;
$custom-dark: #000000;
JSON
{
  "hex": "#13317e",
  "rgb": {
    "r": 19,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 223.178,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34483,
    "c": 0.13543,
    "h": 264.2
  },
  "luminance": 0.03841
}

Semantic roles & 50–950 ramp

primary
#13317E
secondary
#B49139
accent
#BD37F0
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #13317E

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

Preview Lab → · Contrast checker → · Palette generator →

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