#131372#131372

#131372 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.154 H 270.5°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#131372
RGBrgb(19, 19, 114)
HSLhsl(240, 71%, 26%)
HSVhsv(240, 83%, 45%)
CMYKcmyk(83.3%, 83.3%, 0%, 55.3%)
CIE-LABlab(14.51, 35.45, -53.12)
CIE-LCHlch(14.51, 63.87, 303.72°)
OKLaboklab(27.83% 0.0015 -0.1538)
OKLCHoklch(27.83% 0.154 270.5)
XYZxyz(3.5377, 1.8187, 16.0809)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131372 #727213
analogous
#134272 #131372 #421372
triadic
#131372 #721313 #137213
tetradic
#131372 #721342 #727213 #137242
square
#131372 #721342 #727213 #137242
split-complementary
#131372 #724213 #427213
monochromatic
#04041A #0A0A3E #131372 #1C1CA6 #2525DB

Accessibility & contrast

On white

15.40
#131372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#131372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131372
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131372#FFFFFF#000000##FFFFFF
##1313721.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#002070
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #131372;
/* rgb */ color: rgb(19, 19, 114);
/* oklch */ color: oklch(27.8% 0.154 270.5);
Tailwind
colors: {
  custom: {
    50: '#65539c',
    500: '#131372',
    950: '#000000',
  },
}
SCSS
$custom: #131372;
$custom-light: #65539c;
$custom-dark: #000000;
JSON
{
  "hex": "#131372",
  "rgb": {
    "r": 19,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 240,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.27832,
    "c": 0.15382,
    "h": 270.5
  },
  "luminance": 0.01819
}

Semantic roles & 50–950 ramp

primary
#131372
secondary
#A9A938
accent
#EE3AEE
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #131372

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

Preview Lab → · Contrast checker → · Palette generator →

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