#131572#131572

#131572 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.152 H 270.3°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#131572
RGBrgb(19, 21, 114)
HSLhsl(239, 71%, 26%)
HSVhsv(239, 83%, 45%)
CMYKcmyk(83.3%, 81.6%, 0%, 55.3%)
CIE-LABlab(14.90, 34.33, -52.48)
CIE-LCHlch(14.90, 62.71, 303.19°)
OKLaboklab(28.11% 0.0009 -0.152)
OKLCHoklch(28.11% 0.152 270.3)
XYZxyz(3.5730, 1.8893, 16.0927)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131572 #727013
analogous
#134472 #131572 #401372
triadic
#131572 #721315 #157213
tetradic
#131572 #721344 #727013 #137240
square
#131572 #721344 #727013 #137240
split-complementary
#131572 #724013 #447213
monochromatic
#04051A #0A0B3E #131572 #1C1FA6 #2529DB

Accessibility & contrast

On white

15.24
#131572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#131572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131572
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131572#FFFFFF#000000##FFFFFF
##1315721.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A75
Deuteranopia (green-blind)
#002170
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131572;
/* rgb */ color: rgb(19, 21, 114);
/* oklch */ color: oklch(28.1% 0.152 270.3);
Tailwind
colors: {
  custom: {
    50: '#65549c',
    500: '#131572',
    950: '#000000',
  },
}
SCSS
$custom: #131572;
$custom-light: #65549c;
$custom-dark: #000000;
JSON
{
  "hex": "#131572",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 238.737,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28105,
    "c": 0.15197,
    "h": 270.3
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #131572

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

Preview Lab → · Contrast checker → · Palette generator →

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