#32257D#32257D

#32257D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.141 H 282.6°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#32257D
RGBrgb(50, 37, 125)
HSLhsl(249, 54%, 32%)
HSVhsv(249, 70%, 49%)
CMYKcmyk(60%, 70.4%, 0%, 51%)
CIE-LABlab(21.88, 32.19, -47.95)
CIE-LCHlch(21.88, 57.75, 303.87°)
OKLaboklab(34.03% 0.0308 -0.138)
OKLCHoklch(34.03% 0.141 282.6)
XYZxyz(5.6775, 3.4815, 19.7709)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32257D #707D25
analogous
#25447D #32257D #5E257D
triadic
#32257D #7D3225 #257D32
tetradic
#32257D #7D2544 #707D25 #257D5E
square
#32257D #7D2544 #707D25 #257D5E
split-complementary
#32257D #7D5E25 #447D25
monochromatic
#0C091F #1F174E #32257D #4533AC #6351CB

Accessibility & contrast

On white

12.38
#32257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#32257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32257D
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32257D#FFFFFF#000000##FFFFFF
##32257D1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#063C4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #32257d;
/* rgb */ color: rgb(50, 37, 125);
/* oklch */ color: oklch(34.0% 0.141 282.6);
Tailwind
colors: {
  custom: {
    50: '#7361a3',
    500: '#32257d',
    950: '#000000',
  },
}
SCSS
$custom: #32257d;
$custom-light: #7361a3;
$custom-dark: #000000;
JSON
{
  "hex": "#32257d",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 248.864,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34032,
    "c": 0.14141,
    "h": 282.6
  },
  "luminance": 0.03482
}

Semantic roles & 50–950 ramp

primary
#32257D
secondary
#A1AF4F
accent
#DE4AC8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #32257D

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

Preview Lab → · Contrast checker → · Palette generator →

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