#131D71#131D71

#131D71 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.2% C 0.142 H 269.2°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#131D71
RGBrgb(19, 29, 113)
HSLhsl(234, 71%, 26%)
HSVhsv(234, 83%, 44%)
CMYKcmyk(83.2%, 74.3%, 0%, 55.7%)
CIE-LABlab(16.55, 28.97, -49.10)
CIE-LCHlch(16.55, 57.01, 300.55°)
OKLaboklab(29.25% -0.0021 -0.1422)
OKLCHoklch(29.25% 0.142 269.2)
XYZxyz(3.6875, 2.2090, 15.8516)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D71 #716713
analogous
#134C71 #131D71 #381371
triadic
#131D71 #71131D #1D7113
tetradic
#131D71 #71134C #716713 #137138
square
#131D71 #71134C #716713 #137138
split-complementary
#131D71 #713813 #4C7113
monochromatic
#04071A #0A103D #131D71 #1C2AA5 #2538DA

Accessibility & contrast

On white

14.57
#131D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#131D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131D71
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D71#FFFFFF#000000##FFFFFF
##131D711.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #131d71;
/* rgb */ color: rgb(19, 29, 113);
/* oklch */ color: oklch(29.2% 0.142 269.2);
Tailwind
colors: {
  custom: {
    50: '#64599b',
    500: '#131d71',
    950: '#000000',
  },
}
SCSS
$custom: #131d71;
$custom-light: #64599b;
$custom-dark: #000000;
JSON
{
  "hex": "#131d71",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 233.617,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29246,
    "c": 0.14224,
    "h": 269.2
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#131D71
secondary
#A89C38
accent
#DB3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #131D71

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

Preview Lab → · Contrast checker → · Palette generator →

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