#132871#132871

#132871 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.129 H 266.4°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#132871
RGBrgb(19, 40, 113)
HSLhsl(227, 71%, 26%)
HSVhsv(227, 83%, 44%)
CMYKcmyk(83.2%, 64.6%, 0%, 55.7%)
CIE-LABlab(19.42, 21.33, -44.37)
CIE-LCHlch(19.42, 49.23, 295.67°)
OKLaboklab(31.35% -0.0082 -0.1283)
OKLCHoklch(31.35% 0.129 266.4)
XYZxyz(4.0069, 2.8478, 15.9581)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#132871 #715C13
analogous
#135771 #132871 #2D1371
triadic
#132871 #711328 #287113
tetradic
#132871 #711357 #715C13 #13712D
square
#132871 #711357 #715C13 #13712D
split-complementary
#132871 #712D13 #577113
monochromatic
#04091A #0A153D #132871 #1C3BA5 #254DDA

Accessibility & contrast

On white

13.38
#132871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#132871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #132871
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##132871#FFFFFF#000000##FFFFFF
##1328711.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003473
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #132871;
/* rgb */ color: rgb(19, 40, 113);
/* oklch */ color: oklch(31.4% 0.129 266.4);
Tailwind
colors: {
  custom: {
    50: '#63619b',
    500: '#132871',
    950: '#000000',
  },
}
SCSS
$custom: #132871;
$custom-light: #63619b;
$custom-dark: #000000;
JSON
{
  "hex": "#132871",
  "rgb": {
    "r": 19,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 226.596,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3135,
    "c": 0.12861,
    "h": 266.4
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#132871
secondary
#A88F38
accent
#C63AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #132871

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

Preview Lab → · Contrast checker → · Palette generator →

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