#131381#131381

#131381 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.172 H 269.4°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#131381
RGBrgb(19, 19, 129)
HSLhsl(240, 74%, 29%)
HSVhsv(240, 85%, 51%)
CMYKcmyk(85.3%, 85.3%, 0%, 49.4%)
CIE-LABlab(16.45, 40.52, -59.52)
CIE-LCHlch(16.45, 72.00, 304.24°)
OKLaboklab(29.74% -0.0018 -0.1723)
OKLCHoklch(29.74% 0.172 269.4)
XYZxyz(4.4625, 2.1886, 20.9519)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131381 #818113
analogous
#134A81 #131381 #4A1381
triadic
#131381 #811313 #138113
tetradic
#131381 #81134A #818113 #13814A
square
#131381 #81134A #818113 #13814A
split-complementary
#131381 #814A13 #4A8113
monochromatic
#04041B #0B0B4C #131381 #1B1BB6 #2E2EE0

Accessibility & contrast

On white

14.61
#131381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#131381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131381
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131381#FFFFFF#000000##FFFFFF
##1313811.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E84
Deuteranopia (green-blind)
#00237F
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #131381;
/* rgb */ color: rgb(19, 19, 129);
/* oklch */ color: oklch(29.7% 0.172 269.4);
Tailwind
colors: {
  custom: {
    50: '#6954a7',
    500: '#131381',
    950: '#000000',
  },
}
SCSS
$custom: #131381;
$custom-light: #6954a7;
$custom-dark: #000000;
JSON
{
  "hex": "#131381",
  "rgb": {
    "r": 19,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 240,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.2974,
    "c": 0.17233,
    "h": 269.4
  },
  "luminance": 0.02189
}

Semantic roles & 50–950 ramp

primary
#131381
secondary
#B6B63A
accent
#F137F1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #131381

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

Preview Lab → · Contrast checker → · Palette generator →

#131381 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva