#13118E#13118E

#13118E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.2% C 0.189 H 268.7°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#13118E
RGBrgb(19, 17, 142)
HSLhsl(241, 79%, 31%)
HSVhsv(241, 88%, 56%)
CMYKcmyk(86.6%, 88%, 0%, 44.3%)
CIE-LABlab(17.88, 45.58, -65.32)
CIE-LCHlch(17.88, 79.65, 304.91°)
OKLaboklab(31.22% -0.0044 -0.189)
OKLCHoklch(31.22% 0.189 268.7)
XYZxyz(5.3498, 2.4917, 25.7849)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13118E #8C8E11
analogous
#114D8E #13118E #51118E
triadic
#13118E #8E1311 #118E13
tetradic
#13118E #8E114D #8C8E11 #118E51
square
#13118E #8E114D #8C8E11 #118E51
split-complementary
#13118E #8E5111 #4D8E11
monochromatic
#040421 #0C0A57 #13118E #1A18C5 #3633E7

Accessibility & contrast

On white

14.01
#13118E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#13118E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13118E
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13118E#FFFFFF#000000##FFFFFF
##13118E1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003291
Deuteranopia (green-blind)
#00258C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #13118e;
/* rgb */ color: rgb(19, 17, 142);
/* oklch */ color: oklch(31.2% 0.189 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d54b1',
    500: '#13118e',
    950: '#000000',
  },
}
SCSS
$custom: #13118e;
$custom-light: #6d54b1;
$custom-dark: #000000;
JSON
{
  "hex": "#13118e",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 142
  },
  "hsl": {
    "h": 240.96,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3122,
    "c": 0.18908,
    "h": 268.7
  },
  "luminance": 0.02492
}

Semantic roles & 50–950 ramp

primary
#13118E
secondary
#C0C238
accent
#F533F2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #13118E

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

Preview Lab → · Contrast checker → · Palette generator →

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