#13155D#13155D

#13155D is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.6% C 0.124 H 272.3°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#13155D
RGBrgb(19, 21, 93)
HSLhsl(238, 66%, 22%)
HSVhsv(238, 80%, 36%)
CMYKcmyk(79.6%, 77.4%, 0%, 63.5%)
CIE-LABlab(12.38, 26.59, -42.79)
CIE-LCHlch(12.38, 50.38, 301.86°)
OKLaboklab(25.59% 0.0049 -0.1238)
OKLCHoklch(25.59% 0.124 272.3)
XYZxyz(2.5118, 1.4648, 10.5042)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13155D #5D5B13
analogous
#133A5D #13155D #36135D
triadic
#13155D #5D1315 #155D13
tetradic
#13155D #5D133A #5D5B13 #135D36
square
#13155D #5D133A #5D5B13 #135D36
split-complementary
#13155D #5D3613 #3A5D13
monochromatic
#050619 #090A2A #13155D #1D2090 #282CC3

Accessibility & contrast

On white

16.24
#13155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #13155D
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13155D#FFFFFF#000000##FFFFFF
##13155D1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #13155d;
/* rgb */ color: rgb(19, 21, 93);
/* oklch */ color: oklch(25.6% 0.124 272.3);
Tailwind
colors: {
  custom: {
    50: '#5f538c',
    500: '#13155d',
    950: '#000000',
  },
}
SCSS
$custom: #13155d;
$custom-light: #5f538c;
$custom-dark: #000000;
JSON
{
  "hex": "#13155d",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 238.378,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25585,
    "c": 0.12393,
    "h": 272.3
  },
  "luminance": 0.01465
}

Semantic roles & 50–950 ramp

primary
#13155D
secondary
#959237
accent
#E43FE9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #13155D

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

Preview Lab → · Contrast checker → · Palette generator →

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