#32298E#32298E

#32298E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.159 H 278.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#32298E
RGBrgb(50, 41, 142)
HSLhsl(245, 55%, 36%)
HSVhsv(245, 71%, 56%)
CMYKcmyk(64.8%, 71.1%, 0%, 44.3%)
CIE-LABlab(24.37, 35.45, -54.52)
CIE-LCHlch(24.37, 65.03, 303.03°)
OKLaboklab(36.32% 0.0246 -0.1573)
OKLCHoklch(36.32% 0.159 278.9)
XYZxyz(6.9893, 4.2164, 26.0315)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32298E #858E29
analogous
#29528E #32298E #64298E
triadic
#32298E #8E3229 #298E32
tetradic
#32298E #8E2952 #858E29 #298E64
square
#32298E #8E2952 #858E29 #298E64
split-complementary
#32298E #8E6429 #528E29
monochromatic
#110E2F #211B5F #32298E #4337BD #6A60D1

Accessibility & contrast

On white

11.39
#32298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32298E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32298E#FFFFFF#000000##FFFFFF
##32298E1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #32298e;
/* rgb */ color: rgb(50, 41, 142);
/* oklch */ color: oklch(36.3% 0.159 278.9);
Tailwind
colors: {
  custom: {
    50: '#7664b0',
    500: '#32298e',
    950: '#000000',
  },
}
SCSS
$custom: #32298e;
$custom-light: #7664b0;
$custom-dark: #000000;
JSON
{
  "hex": "#32298e",
  "rgb": {
    "r": 50,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 245.347,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36317,
    "c": 0.15919,
    "h": 278.9
  },
  "luminance": 0.04217
}

Semantic roles & 50–950 ramp

primary
#32298E
secondary
#AFB75C
accent
#DF49D1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #32298E

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

Preview Lab → · Contrast checker → · Palette generator →

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