#32298F#32298F

#32298F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.161 H 278.8°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#32298F
RGBrgb(50, 41, 143)
HSLhsl(245, 55%, 36%)
HSVhsv(245, 71%, 56%)
CMYKcmyk(65%, 71.3%, 0%, 43.9%)
CIE-LABlab(24.47, 35.79, -54.98)
CIE-LCHlch(24.47, 65.60, 303.06°)
OKLaboklab(36.42% 0.0245 -0.1586)
OKLCHoklch(36.42% 0.161 278.8)
XYZxyz(7.0647, 4.2466, 26.4287)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32298F #868F29
analogous
#29538F #32298F #65298F
triadic
#32298F #8F3229 #298F32
tetradic
#32298F #8F2953 #868F29 #298F65
square
#32298F #8F2953 #868F29 #298F65
split-complementary
#32298F #8F6529 #538F29
monochromatic
#110E30 #211B5F #32298F #4337BF #6B61D2

Accessibility & contrast

On white

11.36
#32298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#32298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32298F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32298F#FFFFFF#000000##FFFFFF
##32298F1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32298f;
/* rgb */ color: rgb(50, 41, 143);
/* oklch */ color: oklch(36.4% 0.161 278.8);
Tailwind
colors: {
  custom: {
    50: '#7664b1',
    500: '#32298f',
    950: '#000000',
  },
}
SCSS
$custom: #32298f;
$custom-light: #7664b1;
$custom-dark: #000000;
JSON
{
  "hex": "#32298f",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 245.294,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36415,
    "c": 0.1605,
    "h": 278.8
  },
  "luminance": 0.04247
}

Semantic roles & 50–950 ramp

primary
#32298F
secondary
#AFB75C
accent
#DF49D2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #32298F

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

Preview Lab → · Contrast checker → · Palette generator →

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