#32247F#32247F

#32247F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.145 H 282.5°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#32247F
RGBrgb(50, 36, 127)
HSLhsl(249, 56%, 32%)
HSVhsv(249, 72%, 50%)
CMYKcmyk(60.6%, 71.7%, 0%, 50.2%)
CIE-LABlab(21.84, 33.46, -49.27)
CIE-LCHlch(21.84, 59.56, 304.18°)
OKLaboklab(34.06% 0.0314 -0.1419)
OKLCHoklch(34.06% 0.145 282.5)
XYZxyz(5.7758, 3.4718, 20.4403)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32247F #717F24
analogous
#24447F #32247F #60247F
triadic
#32247F #7F3224 #247F32
tetradic
#32247F #7F2444 #717F24 #247F60
square
#32247F #7F2444 #717F24 #247F60
split-complementary
#32247F #7F6024 #447F24
monochromatic
#0C0920 #1F164F #32247F #4532AF #6350CD

Accessibility & contrast

On white

12.39
#32247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#32247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32247F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32247F#FFFFFF#000000##FFFFFF
##32247F1.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#023C4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #32247f;
/* rgb */ color: rgb(50, 36, 127);
/* oklch */ color: oklch(34.1% 0.145 282.5);
Tailwind
colors: {
  custom: {
    50: '#7360a5',
    500: '#32247f',
    950: '#000000',
  },
}
SCSS
$custom: #32247f;
$custom-light: #7360a5;
$custom-dark: #000000;
JSON
{
  "hex": "#32247f",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 249.231,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34064,
    "c": 0.14532,
    "h": 282.5
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#32247F
secondary
#A2B14E
accent
#DF49C8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #32247F

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

Preview Lab → · Contrast checker → · Palette generator →

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