#132771#132771

#132771 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.1% C 0.130 H 266.7°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#132771
RGBrgb(19, 39, 113)
HSLhsl(227, 71%, 26%)
HSVhsv(227, 83%, 44%)
CMYKcmyk(83.2%, 65.5%, 0%, 55.7%)
CIE-LABlab(19.15, 22.05, -44.83)
CIE-LCHlch(19.15, 49.95, 296.19°)
OKLaboklab(31.14% -0.0075 -0.1297)
OKLCHoklch(31.14% 0.13 266.7)
XYZxyz(3.9737, 2.7813, 15.9470)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#132771 #715D13
analogous
#135671 #132771 #2E1371
triadic
#132771 #711327 #277113
tetradic
#132771 #711356 #715D13 #13712E
square
#132771 #711356 #715D13 #13712E
split-complementary
#132771 #712E13 #567113
monochromatic
#04091A #0A153D #132771 #1C39A5 #254BDA

Accessibility & contrast

On white

13.49
#132771 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#132771 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #132771
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##132771#FFFFFF#000000##FFFFFF
##1327711.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003373
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #132771;
/* rgb */ color: rgb(19, 39, 113);
/* oklch */ color: oklch(31.1% 0.130 266.7);
Tailwind
colors: {
  custom: {
    50: '#63609b',
    500: '#132771',
    950: '#000000',
  },
}
SCSS
$custom: #132771;
$custom-light: #63609b;
$custom-dark: #000000;
JSON
{
  "hex": "#132771",
  "rgb": {
    "r": 19,
    "g": 39,
    "b": 113
  },
  "hsl": {
    "h": 227.234,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31143,
    "c": 0.12991,
    "h": 266.7
  },
  "luminance": 0.02782
}

Semantic roles & 50–950 ramp

primary
#132771
secondary
#A89038
accent
#C83AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #132771

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

Preview Lab → · Contrast checker → · Palette generator →

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