#13155B#13155B

#13155B is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.4% C 0.121 H 272.5°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#13155B
RGBrgb(19, 21, 91)
HSLhsl(238, 65%, 22%)
HSVhsv(238, 79%, 36%)
CMYKcmyk(79.1%, 76.9%, 0%, 64.3%)
CIE-LABlab(12.16, 25.82, -41.82)
CIE-LCHlch(12.16, 49.15, 301.69°)
OKLaboklab(25.35% 0.0053 -0.121)
OKLCHoklch(25.35% 0.121 272.5)
XYZxyz(2.4244, 1.4299, 10.0437)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13155B #5B5913
analogous
#13395B #13155B #35135B
triadic
#13155B #5B1315 #155B13
tetradic
#13155B #5B1339 #5B5913 #135B35
square
#13155B #5B1339 #5B5913 #135B35
split-complementary
#13155B #5B3513 #395B13
monochromatic
#050619 #080928 #13155B #1E218E #282CC0

Accessibility & contrast

On white

16.33
#13155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#13155B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13155B
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13155B#FFFFFF#000000##FFFFFF
##13155B1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#001C5A
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #13155b;
/* rgb */ color: rgb(19, 21, 91);
/* oklch */ color: oklch(25.4% 0.121 272.5);
Tailwind
colors: {
  custom: {
    50: '#5e538a',
    500: '#13155b',
    950: '#000000',
  },
}
SCSS
$custom: #13155b;
$custom-light: #5e538a;
$custom-dark: #000000;
JSON
{
  "hex": "#13155b",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 238.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25354,
    "c": 0.12112,
    "h": 272.5
  },
  "luminance": 0.0143
}

Semantic roles & 50–950 ramp

primary
#13155B
secondary
#939137
accent
#E43FE8
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #13155B

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

Preview Lab → · Contrast checker → · Palette generator →

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