#131281#131281

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

Color values

HEX#131281
RGBrgb(19, 18, 129)
HSLhsl(241, 76%, 29%)
HSVhsv(241, 86%, 51%)
CMYKcmyk(85.3%, 86%, 0%, 49.4%)
CIE-LABlab(16.28, 41.00, -59.79)
CIE-LCHlch(16.28, 72.50, 304.44°)
OKLaboklab(29.63% -0.0017 -0.1731)
OKLCHoklch(29.63% 0.173 269.4)
XYZxyz(4.4460, 2.1555, 20.9464)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#131281 #808112
analogous
#124981 #131281 #4B1281
triadic
#131281 #811312 #128113
tetradic
#131281 #811249 #808112 #12814B
square
#131281 #811249 #808112 #12814B
split-complementary
#131281 #814B12 #498112
monochromatic
#04041B #0B0B4B #131281 #1B19B7 #2E2CE2

Accessibility & contrast

On white

14.67
#131281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#131281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #131281
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##131281#FFFFFF#000000##FFFFFF
##1312811.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E84
Deuteranopia (green-blind)
#00227F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #131281;
/* rgb */ color: rgb(19, 18, 129);
/* oklch */ color: oklch(29.6% 0.173 269.4);
Tailwind
colors: {
  custom: {
    50: '#6a54a7',
    500: '#131281',
    950: '#000000',
  },
}
SCSS
$custom: #131281;
$custom-light: #6a54a7;
$custom-dark: #000000;
JSON
{
  "hex": "#131281",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 129
  },
  "hsl": {
    "h": 240.541,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29626,
    "c": 0.1731,
    "h": 269.4
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#131281
secondary
#B5B738
accent
#F236F0
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #131281

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

Preview Lab → · Contrast checker → · Palette generator →

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