#32298C#32298C

#32298C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.157 H 279.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#32298C
RGBrgb(50, 41, 140)
HSLhsl(245, 55%, 35%)
HSVhsv(245, 71%, 55%)
CMYKcmyk(64.3%, 70.7%, 0%, 45.1%)
CIE-LABlab(24.18, 34.77, -53.59)
CIE-LCHlch(24.18, 63.88, 302.98°)
OKLaboklab(36.12% 0.025 -0.1545)
OKLCHoklch(36.12% 0.157 279.2)
XYZxyz(6.8404, 4.1569, 25.2477)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32298C #838C29
analogous
#29518C #32298C #64298C
triadic
#32298C #8C3229 #298C32
tetradic
#32298C #8C2951 #838C29 #298C64
square
#32298C #8C2951 #838C29 #298C64
split-complementary
#32298C #8C6429 #518C29
monochromatic
#100D2D #211B5D #32298C #4337BB #695FD0

Accessibility & contrast

On white

11.47
#32298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32298C
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32298C#FFFFFF#000000##FFFFFF
##32298C1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #32298c;
/* rgb */ color: rgb(50, 41, 140);
/* oklch */ color: oklch(36.1% 0.157 279.2);
Tailwind
colors: {
  custom: {
    50: '#7664af',
    500: '#32298c',
    950: '#000000',
  },
}
SCSS
$custom: #32298c;
$custom-light: #7664af;
$custom-dark: #000000;
JSON
{
  "hex": "#32298c",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 245.455,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36121,
    "c": 0.15654,
    "h": 279.2
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#32298C
secondary
#AEB65B
accent
#DE4AD1
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #32298C

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

Preview Lab → · Contrast checker → · Palette generator →

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