#32298A#32298A

#32298A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.154 H 279.5°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#32298A
RGBrgb(50, 41, 138)
HSLhsl(246, 54%, 35%)
HSVhsv(246, 70%, 54%)
CMYKcmyk(63.8%, 70.3%, 0%, 45.9%)
CIE-LABlab(23.99, 34.10, -52.65)
CIE-LCHlch(23.99, 62.73, 302.93°)
OKLaboklab(35.93% 0.0253 -0.1518)
OKLCHoklch(35.93% 0.154 279.5)
XYZxyz(6.6943, 4.0985, 24.4781)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32298A #818A29
analogous
#29508A #32298A #62298A
triadic
#32298A #8A3229 #298A32
tetradic
#32298A #8A2950 #818A29 #298A62
square
#32298A #8A2950 #818A29 #298A62
split-complementary
#32298A #8A6229 #508A29
monochromatic
#100D2C #211B5B #32298A #4337B9 #695ECF

Accessibility & contrast

On white

11.54
#32298A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#32298A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32298A
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32298A#FFFFFF#000000##FFFFFF
##32298A1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32298a;
/* rgb */ color: rgb(50, 41, 138);
/* oklch */ color: oklch(35.9% 0.154 279.5);
Tailwind
colors: {
  custom: {
    50: '#7564ad',
    500: '#32298a',
    950: '#000000',
  },
}
SCSS
$custom: #32298a;
$custom-light: #7564ad;
$custom-dark: #000000;
JSON
{
  "hex": "#32298a",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 245.567,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35927,
    "c": 0.1539,
    "h": 279.5
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #32298A

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

Preview Lab → · Contrast checker → · Palette generator →

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