#13135B#13135B

#13135B is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.0% C 0.123 H 273.0°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#13135B
RGBrgb(19, 19, 91)
HSLhsl(240, 65%, 22%)
HSVhsv(240, 79%, 36%)
CMYKcmyk(79.1%, 79.1%, 0%, 64.3%)
CIE-LABlab(11.68, 27.14, -42.60)
CIE-LCHlch(11.68, 50.51, 302.50°)
OKLaboklab(25.02% 0.0064 -0.1233)
OKLCHoklch(25.02% 0.123 273)
XYZxyz(2.3891, 1.3593, 10.0320)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13135B #5B5B13
analogous
#13375B #13135B #37135B
triadic
#13135B #5B1313 #135B13
tetradic
#13135B #5B1337 #5B5B13 #135B37
square
#13135B #5B1337 #5B5B13 #135B37
split-complementary
#13135B #5B3713 #375B13
monochromatic
#050519 #080828 #13135B #1E1E8E #2828C0

Accessibility & contrast

On white

16.51
#13135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#13135B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13135B
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13135B#FFFFFF#000000##FFFFFF
##13135B1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001B5A
Tritanopia (blue-blind)
#002836
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #13135b;
/* rgb */ color: rgb(19, 19, 91);
/* oklch */ color: oklch(25.0% 0.123 273.0);
Tailwind
colors: {
  custom: {
    50: '#5f518a',
    500: '#13135b',
    950: '#000000',
  },
}
SCSS
$custom: #13135b;
$custom-light: #5f518a;
$custom-dark: #000000;
JSON
{
  "hex": "#13135b",
  "rgb": {
    "r": 19,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 240,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25017,
    "c": 0.12343,
    "h": 273
  },
  "luminance": 0.0136
}

Semantic roles & 50–950 ramp

primary
#13135B
secondary
#939337
accent
#E83FE8
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #13135B

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

Preview Lab → · Contrast checker → · Palette generator →

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