#131771#131771

#131771 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.149 H 270.2°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#131771
RGBrgb(19, 23, 113)
HSLhsl(237, 71%, 26%)
HSVhsv(237, 83%, 44%)
CMYKcmyk(83.2%, 79.6%, 0%, 55.7%)
CIE-LABlab(15.19, 32.79, -51.35)
CIE-LCHlch(15.19, 60.92, 302.56°)
OKLaboklab(28.27% 0.0004 -0.1487)
OKLCHoklch(28.27% 0.149 270.2)
XYZxyz(3.5546, 1.9431, 15.8073)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131771 #716D13
analogous
#134671 #131771 #3E1371
triadic
#131771 #711317 #177113
tetradic
#131771 #711346 #716D13 #13713E
square
#131771 #711346 #716D13 #13713E
split-complementary
#131771 #713E13 #467113
monochromatic
#04051A #0A0C3D #131771 #1C22A5 #252CDA

Accessibility & contrast

On white

15.12
#131771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131771
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131771#FFFFFF#000000##FFFFFF
##1317711.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #131771;
/* rgb */ color: rgb(19, 23, 113);
/* oklch */ color: oklch(28.3% 0.149 270.2);
Tailwind
colors: {
  custom: {
    50: '#64559b',
    500: '#131771',
    950: '#000000',
  },
}
SCSS
$custom: #131771;
$custom-light: #64559b;
$custom-dark: #000000;
JSON
{
  "hex": "#131771",
  "rgb": {
    "r": 19,
    "g": 23,
    "b": 113
  },
  "hsl": {
    "h": 237.447,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28274,
    "c": 0.14872,
    "h": 270.2
  },
  "luminance": 0.01943
}

Semantic roles & 50–950 ramp

primary
#131771
secondary
#A8A338
accent
#E63AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #131771

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

Preview Lab → · Contrast checker → · Palette generator →

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