#132171#132171

#132171 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.137 H 268.3°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#132171
RGBrgb(19, 33, 113)
HSLhsl(231, 71%, 26%)
HSVhsv(231, 83%, 44%)
CMYKcmyk(83.2%, 70.8%, 0%, 55.7%)
CIE-LABlab(17.54, 26.26, -47.46)
CIE-LCHlch(17.54, 54.24, 298.96°)
OKLaboklab(29.97% -0.004 -0.1374)
OKLCHoklch(29.97% 0.137 268.3)
XYZxyz(3.7920, 2.4180, 15.8864)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#132171 #716313
analogous
#135071 #132171 #341371
triadic
#132171 #711321 #217113
tetradic
#132171 #711350 #716313 #137134
square
#132171 #711350 #716313 #137134
split-complementary
#132171 #713413 #507113
monochromatic
#04081A #0A123D #132171 #1C30A5 #2540DA

Accessibility & contrast

On white

14.15
#132171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#132171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #132171
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##132171#FFFFFF#000000##FFFFFF
##1321711.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#002770
Tritanopia (blue-blind)
#003746
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #132171;
/* rgb */ color: rgb(19, 33, 113);
/* oklch */ color: oklch(30.0% 0.137 268.3);
Tailwind
colors: {
  custom: {
    50: '#635c9b',
    500: '#132171',
    950: '#000000',
  },
}
SCSS
$custom: #132171;
$custom-light: #635c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#132171",
  "rgb": {
    "r": 19,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 231.064,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29967,
    "c": 0.13749,
    "h": 268.3
  },
  "luminance": 0.02418
}

Semantic roles & 50–950 ramp

primary
#132171
secondary
#A89738
accent
#D33AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #132171

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

Preview Lab → · Contrast checker → · Palette generator →

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