#13115E#13115E

#13115E is a dark, vivid blue. Relative luminance 0.013; OKLCH L 25.1% C 0.130 H 273.0°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#13115E
RGBrgb(19, 17, 94)
HSLhsl(242, 69%, 22%)
HSVhsv(242, 82%, 37%)
CMYKcmyk(79.8%, 81.9%, 0%, 63.1%)
CIE-LABlab(11.60, 29.50, -44.75)
CIE-LCHlch(11.60, 53.60, 303.39°)
OKLaboklab(25.07% 0.0067 -0.1295)
OKLCHoklch(25.07% 0.13 273)
XYZxyz(2.4887, 1.3472, 10.7164)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13115E #5C5E11
analogous
#11365E #13115E #3A115E
triadic
#13115E #5E1311 #115E13
tetradic
#13115E #5E1136 #5C5E11 #115E3A
square
#13115E #5E1136 #5C5E11 #115E3A
split-complementary
#13115E #5E3A11 #365E11
monochromatic
#05051A #09082A #13115E #1D1A92 #2824C6

Accessibility & contrast

On white

16.54
#13115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#13115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13115E
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13115E#FFFFFF#000000##FFFFFF
##13115E1.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002260
Deuteranopia (green-blind)
#001B5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #13115e;
/* rgb */ color: rgb(19, 17, 94);
/* oklch */ color: oklch(25.1% 0.130 273.0);
Tailwind
colors: {
  custom: {
    50: '#60508d',
    500: '#13115e',
    950: '#000000',
  },
}
SCSS
$custom: #13115e;
$custom-light: #60508d;
$custom-dark: #000000;
JSON
{
  "hex": "#13115e",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 241.558,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25066,
    "c": 0.12968,
    "h": 273
  },
  "luminance": 0.01347
}

Semantic roles & 50–950 ramp

primary
#13115E
secondary
#949734
accent
#EC3CE8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #13115E

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

Preview Lab → · Contrast checker → · Palette generator →

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