#131371#131371

#131371 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.153 H 270.6°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#131371
RGBrgb(19, 19, 113)
HSLhsl(240, 71%, 26%)
HSVhsv(240, 83%, 44%)
CMYKcmyk(83.2%, 83.2%, 0%, 55.7%)
CIE-LABlab(14.38, 35.11, -52.68)
CIE-LCHlch(14.38, 63.31, 303.68°)
OKLaboklab(27.71% 0.0017 -0.1525)
OKLCHoklch(27.71% 0.153 270.6)
XYZxyz(3.4811, 1.7960, 15.7828)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131371 #717113
analogous
#134271 #131371 #421371
triadic
#131371 #711313 #137113
tetradic
#131371 #711342 #717113 #137142
square
#131371 #711342 #717113 #137142
split-complementary
#131371 #714213 #427113
monochromatic
#04041A #0A0A3D #131371 #1C1CA5 #2525DA

Accessibility & contrast

On white

15.45
#131371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131371
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131371#FFFFFF#000000##FFFFFF
##1313711.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002974
Deuteranopia (green-blind)
#001F6F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #131371;
/* rgb */ color: rgb(19, 19, 113);
/* oklch */ color: oklch(27.7% 0.153 270.6);
Tailwind
colors: {
  custom: {
    50: '#65539b',
    500: '#131371',
    950: '#000000',
  },
}
SCSS
$custom: #131371;
$custom-light: #65539b;
$custom-dark: #000000;
JSON
{
  "hex": "#131371",
  "rgb": {
    "r": 19,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 240,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.27706,
    "c": 0.15255,
    "h": 270.6
  },
  "luminance": 0.01796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #131371

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

Preview Lab → · Contrast checker → · Palette generator →

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