#131580#131580

#131580 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.170 H 269.3°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#131580
RGBrgb(19, 21, 128)
HSLhsl(239, 74%, 29%)
HSVhsv(239, 85%, 50%)
CMYKcmyk(85.2%, 83.6%, 0%, 49.8%)
CIE-LABlab(16.66, 39.17, -58.53)
CIE-LCHlch(16.66, 70.42, 303.79°)
OKLaboklab(29.85% -0.002 -0.1695)
OKLCHoklch(29.85% 0.17 269.3)
XYZxyz(4.4317, 2.2328, 20.6153)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131580 #807E13
analogous
#134C80 #131580 #481380
triadic
#131580 #801315 #158013
tetradic
#131580 #80134C #807E13 #138048
square
#131580 #80134C #807E13 #138048
split-complementary
#131580 #804813 #4C8013
monochromatic
#04041B #0B0C4B #131580 #1B1EB5 #2D31E0

Accessibility & contrast

On white

14.52
#131580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#131580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##131580#FFFFFF#000000##FFFFFF
##1315801.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)
#002F83
Deuteranopia (green-blind)
#00237E
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #131580;
/* rgb */ color: rgb(19, 21, 128);
/* oklch */ color: oklch(29.9% 0.170 269.3);
Tailwind
colors: {
  custom: {
    50: '#6955a6',
    500: '#131580',
    950: '#000000',
  },
}
SCSS
$custom: #131580;
$custom-light: #6955a6;
$custom-dark: #000000;
JSON
{
  "hex": "#131580",
  "rgb": {
    "r": 19,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 238.899,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29853,
    "c": 0.1695,
    "h": 269.3
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#131580
secondary
#B5B339
accent
#ED37F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F

Preview Lab

Preview with #131580

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

Preview Lab → · Contrast checker → · Palette generator →

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