#32288F#32288F

#32288F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.162 H 279.0°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#32288F
RGBrgb(50, 40, 143)
HSLhsl(246, 56%, 36%)
HSVhsv(246, 72%, 56%)
CMYKcmyk(65%, 72%, 0%, 43.9%)
CIE-LABlab(24.25, 36.39, -55.34)
CIE-LCHlch(24.25, 66.23, 303.32°)
OKLaboklab(36.26% 0.0252 -0.1597)
OKLCHoklch(36.26% 0.162 279)
XYZxyz(7.0305, 4.1783, 26.4173)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32288F #858F28
analogous
#28518F #32288F #65288F
triadic
#32288F #8F3228 #288F32
tetradic
#32288F #8F2851 #858F28 #288F65
square
#32288F #8F2851 #858F28 #288F65
split-complementary
#32288F #8F6528 #518F28
monochromatic
#110D2F #211B5F #32288F #4335BF #6A5FD2

Accessibility & contrast

On white

11.44
#32288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#32288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32288F
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32288F#FFFFFF#000000##FFFFFF
##32288F1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #32288f;
/* rgb */ color: rgb(50, 40, 143);
/* oklch */ color: oklch(36.3% 0.162 279.0);
Tailwind
colors: {
  custom: {
    50: '#7663b1',
    500: '#32288f',
    950: '#000000',
  },
}
SCSS
$custom: #32288f;
$custom-light: #7663b1;
$custom-dark: #000000;
JSON
{
  "hex": "#32288f",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 245.825,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36259,
    "c": 0.16164,
    "h": 279
  },
  "luminance": 0.04179
}

Semantic roles & 50–950 ramp

primary
#32288F
secondary
#AFB85B
accent
#E048D1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #32288F

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

Preview Lab → · Contrast checker → · Palette generator →

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