#132781#132781

#132781 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.152 H 266.9°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#132781
RGBrgb(19, 39, 129)
HSLhsl(229, 74%, 29%)
HSVhsv(229, 85%, 51%)
CMYKcmyk(85.3%, 69.8%, 0%, 49.4%)
CIE-LABlab(20.73, 28.48, -52.44)
CIE-LCHlch(20.73, 59.68, 298.50°)
OKLaboklab(32.79% -0.0082 -0.152)
OKLCHoklch(32.79% 0.152 266.9)
XYZxyz(4.9551, 3.1739, 21.1161)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#132781 #816D13
analogous
#135E81 #132781 #361381
triadic
#132781 #811327 #278113
tetradic
#132781 #81135E #816D13 #138136
square
#132781 #81135E #816D13 #138136
split-complementary
#132781 #813613 #5E8113
monochromatic
#04081B #0B174C #132781 #1B37B6 #2E4FE0

Accessibility & contrast

On white

12.85
#132781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#132781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #132781
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##132781#FFFFFF#000000##FFFFFF
##1327811.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#002D7F
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #132781;
/* rgb */ color: rgb(19, 39, 129);
/* oklch */ color: oklch(32.8% 0.152 266.9);
Tailwind
colors: {
  custom: {
    50: '#6761a7',
    500: '#132781',
    950: '#000000',
  },
}
SCSS
$custom: #132781;
$custom-light: #6761a7;
$custom-dark: #000000;
JSON
{
  "hex": "#132781",
  "rgb": {
    "r": 19,
    "g": 39,
    "b": 129
  },
  "hsl": {
    "h": 229.091,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32788,
    "c": 0.15218,
    "h": 266.9
  },
  "luminance": 0.03174
}

Semantic roles & 50–950 ramp

primary
#132781
secondary
#B6A03A
accent
#CF37F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #132781

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

Preview Lab → · Contrast checker → · Palette generator →

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