#32257A#32257A

#32257A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.137 H 283.2°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#32257A
RGBrgb(50, 37, 122)
HSLhsl(249, 53%, 31%)
HSVhsv(249, 70%, 48%)
CMYKcmyk(59%, 69.7%, 0%, 52.2%)
CIE-LABlab(21.60, 31.19, -46.49)
CIE-LCHlch(21.60, 55.98, 303.85°)
OKLaboklab(33.75% 0.0313 -0.1337)
OKLCHoklch(33.75% 0.137 283.2)
XYZxyz(5.4887, 3.4060, 18.7768)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32257A #6D7A25
analogous
#25427A #32257A #5C257A
triadic
#32257A #7A3225 #257A32
tetradic
#32257A #7A2542 #6D7A25 #257A5C
square
#32257A #7A2542 #6D7A25 #257A5C
split-complementary
#32257A #7A5C25 #427A25
monochromatic
#0C091C #1F174B #32257A #4533A9 #6250CA

Accessibility & contrast

On white

12.49
#32257A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#32257A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32257A
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32257A#FFFFFF#000000##FFFFFF
##32257A1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#0C3B4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #32257a;
/* rgb */ color: rgb(50, 37, 122);
/* oklch */ color: oklch(33.7% 0.137 283.2);
Tailwind
colors: {
  custom: {
    50: '#7260a1',
    500: '#32257a',
    950: '#000000',
  },
}
SCSS
$custom: #32257a;
$custom-light: #7260a1;
$custom-dark: #000000;
JSON
{
  "hex": "#32257a",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 122
  },
  "hsl": {
    "h": 249.176,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33748,
    "c": 0.13735,
    "h": 283.2
  },
  "luminance": 0.03406
}

Semantic roles & 50–950 ramp

primary
#32257A
secondary
#9EAC4E
accent
#DD4BC7
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #32257A

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

Preview Lab → · Contrast checker → · Palette generator →

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