#132158#132158

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

Color values

HEX#132158
RGBrgb(19, 33, 88)
HSLhsl(228, 64%, 21%)
HSVhsv(228, 78%, 35%)
CMYKcmyk(78.4%, 62.5%, 0%, 65.5%)
CIE-LABlab(15.12, 16.01, -34.95)
CIE-LCHlch(15.12, 38.44, 294.61°)
OKLaboklab(27.43% -0.0033 -0.1008)
OKLCHoklch(27.43% 0.101 268.1)
XYZxyz(2.5733, 1.9305, 9.4676)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#132158 #584A13
analogous
#134358 #132158 #271358
triadic
#132158 #581321 #215813
tetradic
#132158 #581343 #584A13 #135827
square
#132158 #581343 #584A13 #135827
split-complementary
#132158 #582713 #435813
monochromatic
#050919 #080E26 #132158 #1E348A #2947BD

Accessibility & contrast

On white

15.15
#132158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#132158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #132158
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##132158#FFFFFF#000000##FFFFFF
##1321581.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#002357
Tritanopia (blue-blind)
#002F38
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #132158;
/* rgb */ color: rgb(19, 33, 88);
/* oklch */ color: oklch(27.4% 0.101 268.1);
Tailwind
colors: {
  custom: {
    50: '#5c5b88',
    500: '#132158',
    950: '#000000',
  },
}
SCSS
$custom: #132158;
$custom-light: #5c5b88;
$custom-dark: #000000;
JSON
{
  "hex": "#132158",
  "rgb": {
    "r": 19,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 227.826,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27432,
    "c": 0.10086,
    "h": 268.1
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#132158
secondary
#907E37
accent
#C640E7
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #132158

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

Preview Lab → · Contrast checker → · Palette generator →

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