#13317F#13317F

#13317F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.137 H 264.3°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#13317F
RGBrgb(19, 49, 127)
HSLhsl(223, 74%, 29%)
HSVhsv(223, 85%, 50%)
CMYKcmyk(85%, 61.4%, 0%, 50.2%)
CIE-LABlab(23.23, 20.69, -47.09)
CIE-LCHlch(23.23, 51.43, 293.72°)
OKLaboklab(34.58% -0.0136 -0.1362)
OKLCHoklch(34.58% 0.137 264.3)
XYZxyz(5.1963, 3.8667, 20.5470)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13317F #7F6113
analogous
#13677F #13317F #2B137F
triadic
#13317F #7F1331 #317F13
tetradic
#13317F #7F1367 #7F6113 #137F2B
square
#13317F #7F1367 #7F6113 #137F2B
split-complementary
#13317F #7F2B13 #677F13
monochromatic
#040A1B #0B1C4A #13317F #1B46B4 #2D5EE0

Accessibility & contrast

On white

11.84
#13317F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13317F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13317F#FFFFFF#000000##FFFFFF
##13317F1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #13317f;
/* rgb */ color: rgb(19, 49, 127);
/* oklch */ color: oklch(34.6% 0.137 264.3);
Tailwind
colors: {
  custom: {
    50: '#6668a5',
    500: '#13317f',
    950: '#000000',
  },
}
SCSS
$custom: #13317f;
$custom-light: #6668a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13317f",
  "rgb": {
    "r": 19,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 223.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34577,
    "c": 0.13685,
    "h": 264.3
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#13317F
secondary
#B49239
accent
#BD37F1
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #13317F

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

Preview Lab → · Contrast checker → · Palette generator →

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