#131F72#131F72

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

Color values

HEX#131F72
RGBrgb(19, 31, 114)
HSLhsl(232, 71%, 26%)
HSVhsv(232, 83%, 45%)
CMYKcmyk(83.3%, 72.8%, 0%, 55.3%)
CIE-LABlab(17.15, 28.02, -48.76)
CIE-LCHlch(17.15, 56.24, 299.89°)
OKLaboklab(29.71% -0.0031 -0.1412)
OKLCHoklch(29.71% 0.141 268.7)
XYZxyz(3.7948, 2.3329, 16.1666)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131F72 #726613
analogous
#134E72 #131F72 #361372
triadic
#131F72 #72131F #1F7213
tetradic
#131F72 #72134E #726613 #137236
square
#131F72 #72134E #726613 #137236
split-complementary
#131F72 #723613 #4E7213
monochromatic
#04071A #0A113E #131F72 #1C2DA6 #253CDB

Accessibility & contrast

On white

14.32
#131F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#131F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131F72
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131F72#FFFFFF#000000##FFFFFF
##131F721.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002670
Tritanopia (blue-blind)
#003646
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #131f72;
/* rgb */ color: rgb(19, 31, 114);
/* oklch */ color: oklch(29.7% 0.141 268.7);
Tailwind
colors: {
  custom: {
    50: '#645b9b',
    500: '#131f72',
    950: '#000000',
  },
}
SCSS
$custom: #131f72;
$custom-light: #645b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#131f72",
  "rgb": {
    "r": 19,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 232.421,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2971,
    "c": 0.14126,
    "h": 268.7
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #131F72

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

Preview Lab → · Contrast checker → · Palette generator →

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