#32258B#32258B

#32258B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.160 H 280.2°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#32258B
RGBrgb(50, 37, 139)
HSLhsl(248, 58%, 35%)
HSVhsv(248, 73%, 55%)
CMYKcmyk(64%, 73.4%, 0%, 45.5%)
CIE-LABlab(23.22, 36.83, -54.55)
CIE-LCHlch(23.22, 65.82, 304.03°)
OKLaboklab(35.4% 0.0283 -0.1573)
OKLCHoklch(35.4% 0.16 280.2)
XYZxyz(6.6357, 3.8648, 24.8174)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32258B #7E8B25
analogous
#254B8B #32258B #65258B
triadic
#32258B #8B3225 #258B32
tetradic
#32258B #8B254B #7E8B25 #258B65
square
#32258B #8B254B #7E8B25 #258B65
split-complementary
#32258B #8B6525 #4B8B25
monochromatic
#0F0B2A #21185B #32258B #4332BB #6858D3

Accessibility & contrast

On white

11.84
#32258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#32258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32258B
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32258B#FFFFFF#000000##FFFFFF
##32258B1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#004155
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #32258b;
/* rgb */ color: rgb(50, 37, 139);
/* oklch */ color: oklch(35.4% 0.160 280.2);
Tailwind
colors: {
  custom: {
    50: '#7661ae',
    500: '#32258b',
    950: '#000000',
  },
}
SCSS
$custom: #32258b;
$custom-light: #7661ae;
$custom-dark: #000000;
JSON
{
  "hex": "#32258b",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 247.647,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35402,
    "c": 0.15986,
    "h": 280.2
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#32258B
secondary
#ABB755
accent
#E147CD
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #32258B

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

Preview Lab → · Contrast checker → · Palette generator →

#32258B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva