#132157#132157

#132157 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.099 H 268.1°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#132157
RGBrgb(19, 33, 87)
HSLhsl(228, 64%, 21%)
HSVhsv(228, 78%, 34%)
CMYKcmyk(78.2%, 62.1%, 0%, 65.9%)
CIE-LABlab(15.03, 15.58, -34.42)
CIE-LCHlch(15.03, 37.79, 294.36°)
OKLaboklab(27.34% -0.0033 -0.0993)
OKLCHoklch(27.34% 0.099 268.1)
XYZxyz(2.5321, 1.9140, 9.2510)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#132157 #574913
analogous
#134357 #132157 #271357
triadic
#132157 #571321 #215713
tetradic
#132157 #571343 #574913 #135727
square
#132157 #571343 #574913 #135727
split-complementary
#132157 #572713 #435713
monochromatic
#050A19 #080E25 #132157 #1E3489 #2947BB

Accessibility & contrast

On white

15.19
#132157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#132157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #132157
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##132157#FFFFFF#000000##FFFFFF
##1321571.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002959
Deuteranopia (green-blind)
#002356
Tritanopia (blue-blind)
#002E38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #132157;
/* rgb */ color: rgb(19, 33, 87);
/* oklch */ color: oklch(27.3% 0.099 268.1);
Tailwind
colors: {
  custom: {
    50: '#5c5b87',
    500: '#132157',
    950: '#000000',
  },
}
SCSS
$custom: #132157;
$custom-light: #5c5b87;
$custom-dark: #000000;
JSON
{
  "hex": "#132157",
  "rgb": {
    "r": 19,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 227.647,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27338,
    "c": 0.09932,
    "h": 268.1
  },
  "luminance": 0.01914
}

Semantic roles & 50–950 ramp

primary
#132157
secondary
#8F7D36
accent
#C541E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #132157

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

Preview Lab → · Contrast checker → · Palette generator →

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