#131F71#131F71

#131F71 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.6% C 0.140 H 268.8°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#131F71
RGBrgb(19, 31, 113)
HSLhsl(232, 71%, 26%)
HSVhsv(232, 83%, 44%)
CMYKcmyk(83.2%, 72.6%, 0%, 55.7%)
CIE-LABlab(17.04, 27.63, -48.29)
CIE-LCHlch(17.04, 55.64, 299.78°)
OKLaboklab(29.6% -0.003 -0.1399)
OKLCHoklch(29.6% 0.14 268.8)
XYZxyz(3.7382, 2.3102, 15.8685)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F71 #716513
analogous
#134E71 #131F71 #361371
triadic
#131F71 #71131F #1F7113
tetradic
#131F71 #71134E #716513 #137136
square
#131F71 #71134E #716513 #137136
split-complementary
#131F71 #713613 #4E7113
monochromatic
#04071A #0A113D #131F71 #1C2DA5 #253CDA

Accessibility & contrast

On white

14.36
#131F71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#131F71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F71
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F71#FFFFFF#000000##FFFFFF
##131F711.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #131f71;
/* rgb */ color: rgb(19, 31, 113);
/* oklch */ color: oklch(29.6% 0.140 268.8);
Tailwind
colors: {
  custom: {
    50: '#645b9b',
    500: '#131f71',
    950: '#000000',
  },
}
SCSS
$custom: #131f71;
$custom-light: #645b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#131f71",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 232.34,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.296,
    "c": 0.1399,
    "h": 268.8
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#131F71
secondary
#A89938
accent
#D73AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #131F71

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

Preview Lab → · Contrast checker → · Palette generator →

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