#32257C#32257C

#32257C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.140 H 282.8°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#32257C
RGBrgb(50, 37, 124)
HSLhsl(249, 54%, 32%)
HSVhsv(249, 70%, 49%)
CMYKcmyk(59.7%, 70.2%, 0%, 51.4%)
CIE-LABlab(21.79, 31.85, -47.46)
CIE-LCHlch(21.79, 57.16, 303.87°)
OKLaboklab(33.94% 0.031 -0.1366)
OKLCHoklch(33.94% 0.14 282.8)
XYZxyz(5.6139, 3.4561, 19.4361)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32257C #6F7C25
analogous
#25447C #32257C #5E257C
triadic
#32257C #7C3225 #257C32
tetradic
#32257C #7C2544 #6F7C25 #257C5E
square
#32257C #7C2544 #6F7C25 #257C5E
split-complementary
#32257C #7C5E25 #447C25
monochromatic
#0C091E #1F174D #32257C #4533AB #6350CB

Accessibility & contrast

On white

12.42
#32257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#32257C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32257C
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32257C#FFFFFF#000000##FFFFFF
##32257C1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#093C4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #32257c;
/* rgb */ color: rgb(50, 37, 124);
/* oklch */ color: oklch(33.9% 0.140 282.8);
Tailwind
colors: {
  custom: {
    50: '#7361a3',
    500: '#32257c',
    950: '#000000',
  },
}
SCSS
$custom: #32257c;
$custom-light: #7361a3;
$custom-dark: #000000;
JSON
{
  "hex": "#32257c",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 248.966,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33937,
    "c": 0.14006,
    "h": 282.8
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#32257C
secondary
#A0AE4F
accent
#DD4AC7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #32257C

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

Preview Lab → · Contrast checker → · Palette generator →

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