#32288E#32288E

#32288E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.160 H 279.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#32288E
RGBrgb(50, 40, 142)
HSLhsl(246, 56%, 36%)
HSVhsv(246, 72%, 56%)
CMYKcmyk(64.8%, 71.8%, 0%, 44.3%)
CIE-LABlab(24.16, 36.05, -54.88)
CIE-LCHlch(24.16, 65.66, 303.30°)
OKLaboklab(36.16% 0.0254 -0.1583)
OKLCHoklch(36.16% 0.16 279.1)
XYZxyz(6.9551, 4.1481, 26.0201)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32288E #848E28
analogous
#28518E #32288E #65288E
triadic
#32288E #8E3228 #288E32
tetradic
#32288E #8E2851 #848E28 #288E65
square
#32288E #8E2851 #848E28 #288E65
split-complementary
#32288E #8E6528 #518E28
monochromatic
#100D2F #211B5E #32288E #4335BE #6A5FD2

Accessibility & contrast

On white

11.48
#32288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#32288E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32288E
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32288E#FFFFFF#000000##FFFFFF
##32288E1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #32288e;
/* rgb */ color: rgb(50, 40, 142);
/* oklch */ color: oklch(36.2% 0.160 279.1);
Tailwind
colors: {
  custom: {
    50: '#7663b0',
    500: '#32288e',
    950: '#000000',
  },
}
SCSS
$custom: #32288e;
$custom-light: #7663b0;
$custom-dark: #000000;
JSON
{
  "hex": "#32288e",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 245.882,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3616,
    "c": 0.16035,
    "h": 279.1
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#32288E
secondary
#AEB75B
accent
#DF48D1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #32288E

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

Preview Lab → · Contrast checker → · Palette generator →

#32288E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva