#13317D#13317D

#13317D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.134 H 264.1°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#13317D
RGBrgb(19, 49, 125)
HSLhsl(223, 74%, 28%)
HSVhsv(223, 85%, 49%)
CMYKcmyk(84.8%, 60.8%, 0%, 51%)
CIE-LABlab(23.05, 19.86, -46.11)
CIE-LCHlch(23.05, 50.20, 293.30°)
OKLaboklab(34.39% -0.0137 -0.1333)
OKLCHoklch(34.39% 0.134 264.1)
XYZxyz(5.0672, 3.8151, 19.8674)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13317D #7D5F13
analogous
#13667D #13317D #2A137D
triadic
#13317D #7D1331 #317D13
tetradic
#13317D #7D1366 #7D5F13 #137D2A
square
#13317D #7D1366 #7D5F13 #137D2A
split-complementary
#13317D #7D2A13 #667D13
monochromatic
#040A1B #0B1C48 #13317D #1B46B2 #2C5EDF

Accessibility & contrast

On white

11.91
#13317D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#13317D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13317D
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13317D#FFFFFF#000000##FFFFFF
##13317D1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #13317d;
/* rgb */ color: rgb(19, 49, 125);
/* oklch */ color: oklch(34.4% 0.134 264.1);
Tailwind
colors: {
  custom: {
    50: '#6568a3',
    500: '#13317d',
    950: '#000000',
  },
}
SCSS
$custom: #13317d;
$custom-light: #6568a3;
$custom-dark: #000000;
JSON
{
  "hex": "#13317d",
  "rgb": {
    "r": 19,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 223.019,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.34391,
    "c": 0.134,
    "h": 264.1
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#13317D
secondary
#B39039
accent
#BC38F0
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #13317D

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

Preview Lab → · Contrast checker → · Palette generator →

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