#13117E#13117E

#13117E is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.1% C 0.170 H 269.7°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#13117E
RGBrgb(19, 17, 126)
HSLhsl(241, 76%, 28%)
HSVhsv(241, 87%, 49%)
CMYKcmyk(84.9%, 86.5%, 0%, 50.6%)
CIE-LABlab(15.72, 40.50, -58.82)
CIE-LCHlch(15.72, 71.41, 304.55°)
OKLaboklab(29.13% -0.0008 -0.1703)
OKLCHoklch(29.13% 0.17 269.7)
XYZxyz(4.2336, 2.0452, 19.9062)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13117E #7C7E11
analogous
#11457E #13117E #49117E
triadic
#13117E #7E1311 #117E13
tetradic
#13117E #7E1145 #7C7E11 #117E49
square
#13117E #7E1145 #7C7E11 #117E49
split-complementary
#13117E #7E4911 #457E11
monochromatic
#04041B #0B0A48 #13117E #1B18B4 #2B27E2

Accessibility & contrast

On white

14.90
#13117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#13117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13117E
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13117E#FFFFFF#000000##FFFFFF
##13117E1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00217C
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #13117e;
/* rgb */ color: rgb(19, 17, 126);
/* oklch */ color: oklch(29.1% 0.170 269.7);
Tailwind
colors: {
  custom: {
    50: '#6953a5',
    500: '#13117e',
    950: '#000000',
  },
}
SCSS
$custom: #13117e;
$custom-light: #6953a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13117e",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 241.101,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29126,
    "c": 0.17025,
    "h": 269.7
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

primary
#13117E
secondary
#B2B437
accent
#F335EF
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #13117E

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

Preview Lab → · Contrast checker → · Palette generator →

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