#131E71#131E71

#131E71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.4% C 0.141 H 269.0°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#131E71
RGBrgb(19, 30, 113)
HSLhsl(233, 71%, 26%)
HSVhsv(233, 83%, 44%)
CMYKcmyk(83.2%, 73.5%, 0%, 55.7%)
CIE-LABlab(16.79, 28.31, -48.70)
CIE-LCHlch(16.79, 56.32, 300.17°)
OKLaboklab(29.42% -0.0025 -0.141)
OKLCHoklch(29.42% 0.141 269)
XYZxyz(3.7124, 2.2588, 15.8599)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131E71 #716613
analogous
#134D71 #131E71 #371371
triadic
#131E71 #71131E #1E7113
tetradic
#131E71 #71134D #716613 #137137
square
#131E71 #71134D #716613 #137137
split-complementary
#131E71 #713713 #4D7113
monochromatic
#04071A #0A103D #131E71 #1C2CA5 #253ADA

Accessibility & contrast

On white

14.46
#131E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#131E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131E71
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131E71#FFFFFF#000000##FFFFFF
##131E711.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E74
Deuteranopia (green-blind)
#00256F
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #131e71;
/* rgb */ color: rgb(19, 30, 113);
/* oklch */ color: oklch(29.4% 0.141 269.0);
Tailwind
colors: {
  custom: {
    50: '#645a9b',
    500: '#131e71',
    950: '#000000',
  },
}
SCSS
$custom: #131e71;
$custom-light: #645a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#131e71",
  "rgb": {
    "r": 19,
    "g": 30,
    "b": 113
  },
  "hsl": {
    "h": 232.979,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29421,
    "c": 0.14107,
    "h": 269
  },
  "luminance": 0.02259
}

Semantic roles & 50–950 ramp

primary
#131E71
secondary
#A89B38
accent
#D93AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #131E71

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

Preview Lab → · Contrast checker → · Palette generator →

#131E71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva