#13115B#13115B

#13115B is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.7% C 0.126 H 273.4°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#13115B
RGBrgb(19, 17, 91)
HSLhsl(242, 69%, 21%)
HSVhsv(242, 81%, 36%)
CMYKcmyk(79.1%, 81.3%, 0%, 64.3%)
CIE-LABlab(11.24, 28.40, -43.34)
CIE-LCHlch(11.24, 51.82, 303.24°)
OKLaboklab(24.7% 0.0074 -0.1254)
OKLCHoklch(24.7% 0.126 273.4)
XYZxyz(2.3567, 1.2944, 10.0211)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13115B #595B11
analogous
#11345B #13115B #38115B
triadic
#13115B #5B1311 #115B13
tetradic
#13115B #5B1134 #595B11 #115B38
square
#13115B #5B1134 #595B11 #115B38
split-complementary
#13115B #5B3811 #345B11
monochromatic
#05051A #080727 #13115B #1E1B8F #2924C2

Accessibility & contrast

On white

16.68
#13115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13115B
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13115B#FFFFFF#000000##FFFFFF
##13115B1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215D
Deuteranopia (green-blind)
#001A5A
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #13115b;
/* rgb */ color: rgb(19, 17, 91);
/* oklch */ color: oklch(24.7% 0.126 273.4);
Tailwind
colors: {
  custom: {
    50: '#5f508a',
    500: '#13115b',
    950: '#000000',
  },
}
SCSS
$custom: #13115b;
$custom-light: #5f508a;
$custom-dark: #000000;
JSON
{
  "hex": "#13115b",
  "rgb": {
    "r": 19,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 241.622,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.247,
    "c": 0.12562,
    "h": 273.4
  },
  "luminance": 0.01295
}

Semantic roles & 50–950 ramp

primary
#13115B
secondary
#919434
accent
#EB3CE7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #13115B

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

Preview Lab → · Contrast checker → · Palette generator →

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