#32298B#32298B

#32298B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.155 H 279.3°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#32298B
RGBrgb(50, 41, 139)
HSLhsl(246, 54%, 35%)
HSVhsv(246, 71%, 55%)
CMYKcmyk(64%, 70.5%, 0%, 45.5%)
CIE-LABlab(24.09, 34.44, -53.12)
CIE-LCHlch(24.09, 63.31, 302.95°)
OKLaboklab(36.02% 0.0251 -0.1532)
OKLCHoklch(36.02% 0.155 279.3)
XYZxyz(6.7670, 4.1275, 24.8612)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32298B #828B29
analogous
#29518B #32298B #63298B
triadic
#32298B #8B3229 #298B32
tetradic
#32298B #8B2951 #828B29 #298B63
square
#32298B #8B2951 #828B29 #298B63
split-complementary
#32298B #8B6329 #518B29
monochromatic
#100D2C #211B5C #32298B #4337BA #695FD0

Accessibility & contrast

On white

11.50
#32298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#32298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32298B
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32298B#FFFFFF#000000##FFFFFF
##32298B1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003589
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #32298b;
/* rgb */ color: rgb(50, 41, 139);
/* oklch */ color: oklch(36.0% 0.155 279.3);
Tailwind
colors: {
  custom: {
    50: '#7564ae',
    500: '#32298b',
    950: '#000000',
  },
}
SCSS
$custom: #32298b;
$custom-light: #7564ae;
$custom-dark: #000000;
JSON
{
  "hex": "#32298b",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 245.51,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36024,
    "c": 0.15523,
    "h": 279.3
  },
  "luminance": 0.04128
}

Semantic roles & 50–950 ramp

primary
#32298B
secondary
#ADB55B
accent
#DE4AD0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #32298B

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

Preview Lab → · Contrast checker → · Palette generator →

#32298B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva