#32257E#32257E

#32257E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.143 H 282.4°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#32257E
RGBrgb(50, 37, 126)
HSLhsl(249, 55%, 32%)
HSVhsv(249, 71%, 49%)
CMYKcmyk(60.3%, 70.6%, 0%, 50.6%)
CIE-LABlab(21.97, 32.52, -48.43)
CIE-LCHlch(21.97, 58.34, 303.88°)
OKLaboklab(34.13% 0.0307 -0.1394)
OKLCHoklch(34.13% 0.143 282.4)
XYZxyz(5.7417, 3.5072, 20.1090)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32257E #717E25
analogous
#25457E #32257E #5F257E
triadic
#32257E #7E3225 #257E32
tetradic
#32257E #7E2545 #717E25 #257E5F
square
#32257E #7E2545 #717E25 #257E5F
split-complementary
#32257E #7E5F25 #457E25
monochromatic
#0C091F #1F174F #32257E #4533AD #6351CC

Accessibility & contrast

On white

12.34
#32257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32257E
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32257E#FFFFFF#000000##FFFFFF
##32257E1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#043C4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #32257e;
/* rgb */ color: rgb(50, 37, 126);
/* oklch */ color: oklch(34.1% 0.143 282.4);
Tailwind
colors: {
  custom: {
    50: '#7361a4',
    500: '#32257e',
    950: '#000000',
  },
}
SCSS
$custom: #32257e;
$custom-light: #7361a4;
$custom-dark: #000000;
JSON
{
  "hex": "#32257e",
  "rgb": {
    "r": 50,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 248.764,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34127,
    "c": 0.14275,
    "h": 282.4
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #32257E

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

Preview Lab → · Contrast checker → · Palette generator →

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