#32257F#32257F

#32257F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.144 H 282.2°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#32257F
RGBrgb(50, 37, 127)
HSLhsl(249, 55%, 32%)
HSVhsv(249, 71%, 50%)
CMYKcmyk(60.6%, 70.9%, 0%, 50.2%)
CIE-LABlab(22.06, 32.85, -48.91)
CIE-LCHlch(22.06, 58.92, 303.89°)
OKLaboklab(34.22% 0.0305 -0.1408)
OKLCHoklch(34.22% 0.144 282.2)
XYZxyz(5.8065, 3.5332, 20.4506)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32257F #727F25
analogous
#25457F #32257F #5F257F
triadic
#32257F #7F3225 #257F32
tetradic
#32257F #7F2545 #727F25 #257F5F
square
#32257F #7F2545 #727F25 #257F5F
split-complementary
#32257F #7F5F25 #457F25
monochromatic
#0D0920 #1F1750 #32257F #4533AE #6452CD

Accessibility & contrast

On white

12.30
#32257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#32257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32257F
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32257F#FFFFFF#000000##FFFFFF
##32257F1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#023D4F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #32257f;
/* rgb */ color: rgb(50, 37, 127);
/* oklch */ color: oklch(34.2% 0.144 282.2);
Tailwind
colors: {
  custom: {
    50: '#7361a5',
    500: '#32257f',
    950: '#000000',
  },
}
SCSS
$custom: #32257f;
$custom-light: #7361a5;
$custom-dark: #000000;
JSON
{
  "hex": "#32257f",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 248.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34223,
    "c": 0.14409,
    "h": 282.2
  },
  "luminance": 0.03534
}

Semantic roles & 50–950 ramp

primary
#32257F
secondary
#A3B14F
accent
#DE4AC9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #32257F

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

Preview Lab → · Contrast checker → · Palette generator →

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