#131C71#131C71

#131C71 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.1% C 0.143 H 269.4°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#131C71
RGBrgb(19, 28, 113)
HSLhsl(234, 71%, 26%)
HSVhsv(234, 83%, 44%)
CMYKcmyk(83.2%, 75.2%, 0%, 55.7%)
CIE-LABlab(16.31, 29.63, -49.49)
CIE-LCHlch(16.31, 57.68, 300.91°)
OKLaboklab(29.08% -0.0016 -0.1434)
OKLCHoklch(29.08% 0.143 269.4)
XYZxyz(3.6634, 2.1608, 15.8436)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131C71 #716813
analogous
#134B71 #131C71 #391371
triadic
#131C71 #71131C #1C7113
tetradic
#131C71 #71134B #716813 #137139
square
#131C71 #71134B #716813 #137139
split-complementary
#131C71 #713913 #4B7113
monochromatic
#04061A #0A0F3D #131C71 #1C29A5 #2536DA

Accessibility & contrast

On white

14.66
#131C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#131C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131C71
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131C71#FFFFFF#000000##FFFFFF
##131C711.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #131c71;
/* rgb */ color: rgb(19, 28, 113);
/* oklch */ color: oklch(29.1% 0.143 269.4);
Tailwind
colors: {
  custom: {
    50: '#64599b',
    500: '#131c71',
    950: '#000000',
  },
}
SCSS
$custom: #131c71;
$custom-light: #64599b;
$custom-dark: #000000;
JSON
{
  "hex": "#131c71",
  "rgb": {
    "r": 19,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 234.255,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29075,
    "c": 0.14337,
    "h": 269.4
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#131C71
secondary
#A89D38
accent
#DD3AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #131C71

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

Preview Lab → · Contrast checker → · Palette generator →

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