#32298D#32298D

#32298D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.158 H 279.0°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#32298D
RGBrgb(50, 41, 141)
HSLhsl(245, 55%, 36%)
HSVhsv(245, 71%, 55%)
CMYKcmyk(64.5%, 70.9%, 0%, 44.7%)
CIE-LABlab(24.28, 35.11, -54.05)
CIE-LCHlch(24.28, 64.46, 303.01°)
OKLaboklab(36.22% 0.0248 -0.1559)
OKLCHoklch(36.22% 0.158 279)
XYZxyz(6.9145, 4.1865, 25.6378)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32298D #848D29
analogous
#29528D #32298D #64298D
triadic
#32298D #8D3229 #298D32
tetradic
#32298D #8D2952 #848D29 #298D64
square
#32298D #8D2952 #848D29 #298D64
split-complementary
#32298D #8D6429 #528D29
monochromatic
#100D2E #211B5E #32298D #4337BC #6A60D1

Accessibility & contrast

On white

11.43
#32298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#32298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32298D
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32298D#FFFFFF#000000##FFFFFF
##32298D1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #32298d;
/* rgb */ color: rgb(50, 41, 141);
/* oklch */ color: oklch(36.2% 0.158 279.0);
Tailwind
colors: {
  custom: {
    50: '#7664af',
    500: '#32298d',
    950: '#000000',
  },
}
SCSS
$custom: #32298d;
$custom-light: #7664af;
$custom-dark: #000000;
JSON
{
  "hex": "#32298d",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 245.4,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36219,
    "c": 0.15787,
    "h": 279
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #32298D

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

Preview Lab → · Contrast checker → · Palette generator →

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