#13317B#13317B

#13317B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.2% C 0.131 H 264.0°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#13317B
RGBrgb(19, 49, 123)
HSLhsl(223, 73%, 28%)
HSVhsv(223, 85%, 48%)
CMYKcmyk(84.6%, 60.2%, 0%, 51.8%)
CIE-LABlab(22.88, 19.03, -45.13)
CIE-LCHlch(22.88, 48.97, 292.87°)
OKLaboklab(34.21% -0.0138 -0.1304)
OKLCHoklch(34.21% 0.131 264)
XYZxyz(4.9407, 3.7645, 19.2013)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13317B #7B5D13
analogous
#13657B #13317B #29137B
triadic
#13317B #7B1331 #317B13
tetradic
#13317B #7B1365 #7B5D13 #137B29
square
#13317B #7B1365 #7B5D13 #137B29
split-complementary
#13317B #7B2913 #657B13
monochromatic
#040B1B #0B1C46 #13317B #1B46B0 #2A5EDE

Accessibility & contrast

On white

11.98
#13317B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#13317B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13317B
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13317B#FFFFFF#000000##FFFFFF
##13317B1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #13317b;
/* rgb */ color: rgb(19, 49, 123);
/* oklch */ color: oklch(34.2% 0.131 264.0);
Tailwind
colors: {
  custom: {
    50: '#6568a2',
    500: '#13317b',
    950: '#000000',
  },
}
SCSS
$custom: #13317b;
$custom-light: #6568a2;
$custom-dark: #000000;
JSON
{
  "hex": "#13317b",
  "rgb": {
    "r": 19,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 222.692,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34207,
    "c": 0.13115,
    "h": 264
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#13317B
secondary
#B18E39
accent
#BB38F0
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#06060F
muted
#7A7A7F

Preview Lab

Preview with #13317B

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

Preview Lab → · Contrast checker → · Palette generator →

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