#132172#132172

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

Color values

HEX#132172
RGBrgb(19, 33, 114)
HSLhsl(231, 71%, 26%)
HSVhsv(231, 83%, 45%)
CMYKcmyk(83.3%, 71.1%, 0%, 55.3%)
CIE-LABlab(17.65, 26.66, -47.93)
CIE-LCHlch(17.65, 54.85, 299.08°)
OKLaboklab(30.08% -0.0041 -0.1388)
OKLCHoklch(30.08% 0.139 268.3)
XYZxyz(3.8486, 2.4406, 16.1846)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#132172 #726413
analogous
#135072 #132172 #341372
triadic
#132172 #721321 #217213
tetradic
#132172 #721350 #726413 #137234
square
#132172 #721350 #726413 #137234
split-complementary
#132172 #723413 #507213
monochromatic
#04081A #0A123E #132172 #1C30A6 #2540DB

Accessibility & contrast

On white

14.11
#132172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#132172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #132172
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##132172#FFFFFF#000000##FFFFFF
##1321721.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #132172;
/* rgb */ color: rgb(19, 33, 114);
/* oklch */ color: oklch(30.1% 0.139 268.3);
Tailwind
colors: {
  custom: {
    50: '#645c9b',
    500: '#132172',
    950: '#000000',
  },
}
SCSS
$custom: #132172;
$custom-light: #645c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#132172",
  "rgb": {
    "r": 19,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 231.158,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30075,
    "c": 0.13888,
    "h": 268.3
  },
  "luminance": 0.02441
}

Semantic roles & 50–950 ramp

primary
#132172
secondary
#A99838
accent
#D43AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #132172

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

Preview Lab → · Contrast checker → · Palette generator →

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