#131772#131772

#131772 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.150 H 270.1°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#131772
RGBrgb(19, 23, 114)
HSLhsl(237, 71%, 26%)
HSVhsv(237, 83%, 45%)
CMYKcmyk(83.3%, 79.8%, 0%, 55.3%)
CIE-LABlab(15.31, 33.15, -51.79)
CIE-LCHlch(15.31, 61.49, 302.62°)
OKLaboklab(28.4% 0.0002 -0.15)
OKLCHoklch(28.4% 0.15 270.1)
XYZxyz(3.6112, 1.9657, 16.1054)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131772 #726E13
analogous
#134672 #131772 #3E1372
triadic
#131772 #721317 #177213
tetradic
#131772 #721346 #726E13 #13723E
square
#131772 #721346 #726E13 #13723E
split-complementary
#131772 #723E13 #467213
monochromatic
#04051A #0A0C3E #131772 #1C22A6 #252CDB

Accessibility & contrast

On white

15.07
#131772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#131772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131772
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131772#FFFFFF#000000##FFFFFF
##1317721.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002170
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #131772;
/* rgb */ color: rgb(19, 23, 114);
/* oklch */ color: oklch(28.4% 0.150 270.1);
Tailwind
colors: {
  custom: {
    50: '#65559c',
    500: '#131772',
    950: '#000000',
  },
}
SCSS
$custom: #131772;
$custom-light: #65559c;
$custom-dark: #000000;
JSON
{
  "hex": "#131772",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 237.474,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.28395,
    "c": 0.15002,
    "h": 270.1
  },
  "luminance": 0.01966
}

Semantic roles & 50–950 ramp

primary
#131772
secondary
#A9A438
accent
#E73AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #131772

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

Preview Lab → · Contrast checker → · Palette generator →

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