#131D72#131D72

#131D72 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.144 H 269.1°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#131D72
RGBrgb(19, 29, 114)
HSLhsl(234, 71%, 26%)
HSVhsv(234, 83%, 45%)
CMYKcmyk(83.3%, 74.6%, 0%, 55.3%)
CIE-LABlab(16.66, 29.36, -49.56)
CIE-LCHlch(16.66, 57.60, 300.64°)
OKLaboklab(29.36% -0.0022 -0.1436)
OKLCHoklch(29.36% 0.144 269.1)
XYZxyz(3.7441, 2.2316, 16.1497)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131D72 #726813
analogous
#134C72 #131D72 #381372
triadic
#131D72 #72131D #1D7213
tetradic
#131D72 #72134C #726813 #137238
square
#131D72 #72134C #726813 #137238
split-complementary
#131D72 #723813 #4C7213
monochromatic
#04071A #0A103E #131D72 #1C2AA6 #2538DB

Accessibility & contrast

On white

14.52
#131D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #131D72
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131D72#FFFFFF#000000##FFFFFF
##131D721.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003545
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #131d72;
/* rgb */ color: rgb(19, 29, 114);
/* oklch */ color: oklch(29.4% 0.144 269.1);
Tailwind
colors: {
  custom: {
    50: '#64599c',
    500: '#131d72',
    950: '#000000',
  },
}
SCSS
$custom: #131d72;
$custom-light: #64599c;
$custom-dark: #000000;
JSON
{
  "hex": "#131d72",
  "rgb": {
    "r": 19,
    "g": 29,
    "b": 114
  },
  "hsl": {
    "h": 233.684,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29359,
    "c": 0.14359,
    "h": 269.1
  },
  "luminance": 0.02232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #131D72

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

Preview Lab → · Contrast checker → · Palette generator →

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