#13156D#13156D

#13156D is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.5% C 0.145 H 270.7°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#13156D
RGBrgb(19, 21, 109)
HSLhsl(239, 70%, 25%)
HSVhsv(239, 83%, 43%)
CMYKcmyk(82.6%, 80.7%, 0%, 57.3%)
CIE-LABlab(14.28, 32.54, -50.24)
CIE-LCHlch(14.28, 59.86, 302.93°)
OKLaboklab(27.49% 0.0019 -0.1455)
OKLCHoklch(27.49% 0.146 270.7)
XYZxyz(3.2961, 1.7785, 14.6346)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13156D #6D6B13
analogous
#13426D #13156D #3E136D
triadic
#13156D #6D1315 #156D13
tetradic
#13156D #6D1342 #6D6B13 #136D3E
square
#13156D #6D1342 #6D6B13 #136D3E
split-complementary
#13156D #6D3E13 #426D13
monochromatic
#05051A #0A0B39 #13156D #1C1FA1 #2529D5

Accessibility & contrast

On white

15.49
#13156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#13156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13156D
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13156D#FFFFFF#000000##FFFFFF
##13156D1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002970
Deuteranopia (green-blind)
#00206B
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #13156d;
/* rgb */ color: rgb(19, 21, 109);
/* oklch */ color: oklch(27.5% 0.145 270.7);
Tailwind
colors: {
  custom: {
    50: '#645498',
    500: '#13156d',
    950: '#000000',
  },
}
SCSS
$custom: #13156d;
$custom-light: #645498;
$custom-dark: #000000;
JSON
{
  "hex": "#13156d",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 238.667,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27492,
    "c": 0.1455,
    "h": 270.7
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#13156D
secondary
#A4A238
accent
#E93BED
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #13156D

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

Preview Lab → · Contrast checker → · Palette generator →

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