#132271#132271

#132271 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.136 H 268.1°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#132271
RGBrgb(19, 34, 113)
HSLhsl(230, 71%, 26%)
HSVhsv(230, 83%, 44%)
CMYKcmyk(83.2%, 69.9%, 0%, 55.7%)
CIE-LABlab(17.80, 25.57, -47.03)
CIE-LCHlch(17.80, 53.53, 298.54°)
OKLaboklab(30.15% -0.0046 -0.1362)
OKLCHoklch(30.15% 0.136 268.1)
XYZxyz(3.8202, 2.4743, 15.8958)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#132271 #716213
analogous
#135171 #132271 #331371
triadic
#132271 #711322 #227113
tetradic
#132271 #711351 #716213 #137133
square
#132271 #711351 #716213 #137133
split-complementary
#132271 #713313 #517113
monochromatic
#04081A #0A123D #132271 #1C32A5 #2542DA

Accessibility & contrast

On white

14.05
#132271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#132271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #132271
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##132271#FFFFFF#000000##FFFFFF
##1322711.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #132271;
/* rgb */ color: rgb(19, 34, 113);
/* oklch */ color: oklch(30.2% 0.136 268.1);
Tailwind
colors: {
  custom: {
    50: '#635d9b',
    500: '#132271',
    950: '#000000',
  },
}
SCSS
$custom: #132271;
$custom-light: #635d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#132271",
  "rgb": {
    "r": 19,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 230.426,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30155,
    "c": 0.13627,
    "h": 268.1
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#132271
secondary
#A89638
accent
#D13AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #132271

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

Preview Lab → · Contrast checker → · Palette generator →

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