#132872#132872

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

Color values

HEX#132872
RGBrgb(19, 40, 114)
HSLhsl(227, 71%, 26%)
HSVhsv(227, 83%, 45%)
CMYKcmyk(83.3%, 64.9%, 0%, 55.3%)
CIE-LABlab(19.52, 21.74, -44.86)
CIE-LCHlch(19.52, 49.85, 295.85°)
OKLaboklab(31.45% -0.0082 -0.1298)
OKLCHoklch(31.45% 0.13 266.4)
XYZxyz(4.0635, 2.8705, 16.2562)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#132872 #725D13
analogous
#135772 #132872 #2D1372
triadic
#132872 #721328 #287213
tetradic
#132872 #721357 #725D13 #13722D
square
#132872 #721357 #725D13 #13722D
split-complementary
#132872 #722D13 #577213
monochromatic
#04091A #0A163E #132872 #1C3AA6 #254DDB

Accessibility & contrast

On white

13.34
#132872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #132872
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##132872#FFFFFF#000000##FFFFFF
##1328721.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003B49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #132872;
/* rgb */ color: rgb(19, 40, 114);
/* oklch */ color: oklch(31.4% 0.130 266.4);
Tailwind
colors: {
  custom: {
    50: '#63619b',
    500: '#132872',
    950: '#000000',
  },
}
SCSS
$custom: #132872;
$custom-light: #63619b;
$custom-dark: #000000;
JSON
{
  "hex": "#132872",
  "rgb": {
    "r": 19,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 226.737,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31448,
    "c": 0.13005,
    "h": 266.4
  },
  "luminance": 0.02871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #132872

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

Preview Lab → · Contrast checker → · Palette generator →

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