#32247B#32247B

#32247B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.140 H 283.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#32247B
RGBrgb(50, 36, 123)
HSLhsl(250, 55%, 31%)
HSVhsv(250, 71%, 48%)
CMYKcmyk(59.3%, 70.7%, 0%, 51.8%)
CIE-LABlab(21.47, 32.14, -47.35)
CIE-LCHlch(21.47, 57.22, 304.17°)
OKLaboklab(33.68% 0.0321 -0.1362)
OKLCHoklch(33.68% 0.14 283.2)
XYZxyz(5.5203, 3.3696, 19.0946)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32247B #6D7B24
analogous
#24417B #32247B #5D247B
triadic
#32247B #7B3224 #247B32
tetradic
#32247B #7B2441 #6D7B24 #247B5D
square
#32247B #7B2441 #6D7B24 #247B5D
split-complementary
#32247B #7B5D24 #417B24
monochromatic
#0C081C #1F164C #32247B #4532AA #624ECB

Accessibility & contrast

On white

12.54
#32247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#32247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32247B
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32247B#FFFFFF#000000##FFFFFF
##32247B1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#0B3B4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #32247b;
/* rgb */ color: rgb(50, 36, 123);
/* oklch */ color: oklch(33.7% 0.140 283.2);
Tailwind
colors: {
  custom: {
    50: '#7360a2',
    500: '#32247b',
    950: '#000000',
  },
}
SCSS
$custom: #32247b;
$custom-light: #7360a2;
$custom-dark: #000000;
JSON
{
  "hex": "#32247b",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 249.655,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33679,
    "c": 0.13998,
    "h": 283.2
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#32247B
secondary
#9EAD4D
accent
#DE4AC6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #32247B

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

Preview Lab → · Contrast checker → · Palette generator →

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