#13156A#13156A

#13156A is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.1% C 0.142 H 271.0°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#13156A
RGBrgb(19, 21, 106)
HSLhsl(239, 70%, 25%)
HSVhsv(239, 82%, 42%)
CMYKcmyk(82.1%, 80.2%, 0%, 58.4%)
CIE-LABlab(13.91, 31.45, -48.88)
CIE-LCHlch(13.91, 58.13, 302.76°)
OKLaboklab(27.13% 0.0025 -0.1415)
OKLCHoklch(27.13% 0.142 271)
XYZxyz(3.1374, 1.7150, 13.7986)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13156A #6A6813
analogous
#13416A #13156A #3D136A
triadic
#13156A #6A1315 #156A13
tetradic
#13156A #6A1341 #6A6813 #136A3D
square
#13156A #6A1341 #6A6813 #136A3D
split-complementary
#13156A #6A3D13 #416A13
monochromatic
#05051A #0A0B36 #13156A #1C1F9E #262AD2

Accessibility & contrast

On white

15.64
#13156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#13156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13156A
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13156A#FFFFFF#000000##FFFFFF
##13156A1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#001F69
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #13156a;
/* rgb */ color: rgb(19, 21, 106);
/* oklch */ color: oklch(27.1% 0.142 271.0);
Tailwind
colors: {
  custom: {
    50: '#635496',
    500: '#13156a',
    950: '#000000',
  },
}
SCSS
$custom: #13156a;
$custom-light: #635496;
$custom-dark: #000000;
JSON
{
  "hex": "#13156a",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 238.621,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27127,
    "c": 0.14156,
    "h": 271
  },
  "luminance": 0.01715
}

Semantic roles & 50–950 ramp

primary
#13156A
secondary
#A19F38
accent
#E83BEC
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #13156A

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

Preview Lab → · Contrast checker → · Palette generator →

#13156A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva