#13115C#13115C

#13115C is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.8% C 0.127 H 273.3°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#13115C
RGBrgb(19, 17, 92)
HSLhsl(242, 69%, 21%)
HSVhsv(242, 82%, 36%)
CMYKcmyk(79.3%, 81.5%, 0%, 63.9%)
CIE-LABlab(11.36, 28.77, -43.81)
CIE-LCHlch(11.36, 52.41, 303.29°)
OKLaboklab(24.82% 0.0072 -0.1268)
OKLCHoklch(24.82% 0.127 273.3)
XYZxyz(2.4001, 1.3118, 10.2499)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13115C #5A5C11
analogous
#11355C #13115C #39115C
triadic
#13115C #5C1311 #115C13
tetradic
#13115C #5C1135 #5A5C11 #115C39
square
#13115C #5C1135 #5A5C11 #115C39
split-complementary
#13115C #5C3911 #355C11
monochromatic
#05051A #080728 #13115C #1E1B90 #2824C3

Accessibility & contrast

On white

16.63
#13115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#13115C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13115C
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13115C#FFFFFF#000000##FFFFFF
##13115C1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225E
Deuteranopia (green-blind)
#001B5B
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #13115c;
/* rgb */ color: rgb(19, 17, 92);
/* oklch */ color: oklch(24.8% 0.127 273.3);
Tailwind
colors: {
  custom: {
    50: '#5f508b',
    500: '#13115c',
    950: '#000000',
  },
}
SCSS
$custom: #13115c;
$custom-light: #5f508b;
$custom-dark: #000000;
JSON
{
  "hex": "#13115c",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 241.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.24822,
    "c": 0.12697,
    "h": 273.3
  },
  "luminance": 0.01312
}

Semantic roles & 50–950 ramp

primary
#13115C
secondary
#929534
accent
#EC3CE7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #13115C

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

Preview Lab → · Contrast checker → · Palette generator →

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