#132151#132151

#132151 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.8% C 0.090 H 267.6°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#132151
RGBrgb(19, 33, 81)
HSLhsl(226, 62%, 20%)
HSVhsv(226, 77%, 32%)
CMYKcmyk(76.5%, 59.3%, 0%, 68.2%)
CIE-LABlab(14.51, 13.04, -31.20)
CIE-LCHlch(14.51, 33.82, 292.68°)
OKLaboklab(26.79% -0.0037 -0.0898)
OKLCHoklch(26.79% 0.09 267.6)
XYZxyz(2.2971, 1.8200, 8.0132)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#132151 #514313
analogous
#134051 #132151 #241351
triadic
#132151 #511321 #215113
tetradic
#132151 #511340 #514313 #135124
square
#132151 #511340 #514313 #135124
split-complementary
#132151 #512413 #405113
monochromatic
#060A19 #070D1F #132151 #1F3583 #2A49B4

Accessibility & contrast

On white

15.40
#132151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#132151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #132151
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##132151#FFFFFF#000000##FFFFFF
##1321511.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002853
Deuteranopia (green-blind)
#002250
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #132151;
/* rgb */ color: rgb(19, 33, 81);
/* oklch */ color: oklch(26.8% 0.090 267.6);
Tailwind
colors: {
  custom: {
    50: '#5a5b82',
    500: '#132151',
    950: '#000000',
  },
}
SCSS
$custom: #132151;
$custom-light: #5a5b82;
$custom-dark: #000000;
JSON
{
  "hex": "#132151",
  "rgb": {
    "r": 19,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 226.452,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26787,
    "c": 0.08987,
    "h": 267.6
  },
  "luminance": 0.0182
}

Semantic roles & 50–950 ramp

primary
#132151
secondary
#8A7736
accent
#C043E5
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #132151

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

Preview Lab → · Contrast checker → · Palette generator →

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