#131571#131571

#131571 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.151 H 270.4°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#131571
RGBrgb(19, 21, 113)
HSLhsl(239, 71%, 26%)
HSVhsv(239, 83%, 44%)
CMYKcmyk(83.2%, 81.4%, 0%, 55.7%)
CIE-LABlab(14.77, 33.97, -52.03)
CIE-LCHlch(14.77, 62.14, 303.14°)
OKLaboklab(27.98% 0.0011 -0.1507)
OKLCHoklch(27.98% 0.151 270.4)
XYZxyz(3.5163, 1.8666, 15.7946)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131571 #716F13
analogous
#134471 #131571 #401371
triadic
#131571 #711315 #157113
tetradic
#131571 #711344 #716F13 #137140
square
#131571 #711344 #716F13 #137140
split-complementary
#131571 #714013 #447113
monochromatic
#04051A #0A0B3D #131571 #1C1FA5 #2528DA

Accessibility & contrast

On white

15.29
#131571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#131571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131571
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131571#FFFFFF#000000##FFFFFF
##1315711.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00206F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131571;
/* rgb */ color: rgb(19, 21, 113);
/* oklch */ color: oklch(28.0% 0.151 270.4);
Tailwind
colors: {
  custom: {
    50: '#65549b',
    500: '#131571',
    950: '#000000',
  },
}
SCSS
$custom: #131571;
$custom-light: #65549b;
$custom-dark: #000000;
JSON
{
  "hex": "#131571",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 238.723,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27982,
    "c": 0.15068,
    "h": 270.4
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#131571
secondary
#A8A538
accent
#EA3AEE
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #131571

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

Preview Lab → · Contrast checker → · Palette generator →

#131571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva