#32258C#32258C

#32258C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.161 H 280.0°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#32258C
RGBrgb(50, 37, 140)
HSLhsl(248, 58%, 35%)
HSVhsv(248, 74%, 55%)
CMYKcmyk(64.3%, 73.6%, 0%, 45.1%)
CIE-LABlab(23.32, 37.16, -55.01)
CIE-LCHlch(23.32, 66.39, 304.04°)
OKLaboklab(35.5% 0.0281 -0.1587)
OKLCHoklch(35.5% 0.161 280)
XYZxyz(6.7091, 3.8942, 25.2040)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32258C #7F8C25
analogous
#254B8C #32258C #66258C
triadic
#32258C #8C3225 #258C32
tetradic
#32258C #8C254B #7F8C25 #258C66
square
#32258C #8C254B #7F8C25 #258C66
split-complementary
#32258C #8C6625 #4B8C25
monochromatic
#0F0B2B #21185C #32258C #4332BC #6858D3

Accessibility & contrast

On white

11.80
#32258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#32258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32258C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32258C#FFFFFF#000000##FFFFFF
##32258C1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #32258c;
/* rgb */ color: rgb(50, 37, 140);
/* oklch */ color: oklch(35.5% 0.161 280.0);
Tailwind
colors: {
  custom: {
    50: '#7661af',
    500: '#32258c',
    950: '#000000',
  },
}
SCSS
$custom: #32258c;
$custom-light: #7661af;
$custom-dark: #000000;
JSON
{
  "hex": "#32258c",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 247.573,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35503,
    "c": 0.16115,
    "h": 280
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#32258C
secondary
#ABB855
accent
#E146CE
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #32258C

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

Preview Lab → · Contrast checker → · Palette generator →

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