#13117F#13117F

#13117F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.171 H 269.6°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#13117F
RGBrgb(19, 17, 127)
HSLhsl(241, 76%, 28%)
HSVhsv(241, 87%, 50%)
CMYKcmyk(85%, 86.6%, 0%, 50.2%)
CIE-LABlab(15.86, 40.83, -59.23)
CIE-LCHlch(15.86, 71.94, 304.58°)
OKLaboklab(29.26% -0.001 -0.1714)
OKLCHoklch(29.26% 0.171 269.6)
XYZxyz(4.2985, 2.0711, 20.2478)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13117F #7D7F11
analogous
#11467F #13117F #4A117F
triadic
#13117F #7F1311 #117F13
tetradic
#13117F #7F1146 #7D7F11 #117F4A
square
#13117F #7F1146 #7D7F11 #117F4A
split-complementary
#13117F #7F4A11 #467F11
monochromatic
#04041B #0B0A49 #13117F #1B18B5 #2C28E2

Accessibility & contrast

On white

14.85
#13117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13117F
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13117F#FFFFFF#000000##FFFFFF
##13117F1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #13117f;
/* rgb */ color: rgb(19, 17, 127);
/* oklch */ color: oklch(29.3% 0.171 269.6);
Tailwind
colors: {
  custom: {
    50: '#6953a5',
    500: '#13117f',
    950: '#000000',
  },
}
SCSS
$custom: #13117f;
$custom-light: #6953a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13117f",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 241.091,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29256,
    "c": 0.17145,
    "h": 269.6
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #13117F

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

Preview Lab → · Contrast checker → · Palette generator →

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