#32238C#32238C

#32238C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.163 H 280.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#32238C
RGBrgb(50, 35, 140)
HSLhsl(249, 60%, 34%)
HSVhsv(249, 75%, 55%)
CMYKcmyk(64.3%, 75%, 0%, 45.1%)
CIE-LABlab(22.91, 38.31, -55.69)
CIE-LCHlch(22.91, 67.59, 304.53°)
OKLaboklab(35.21% 0.0295 -0.1607)
OKLCHoklch(35.21% 0.163 280.4)
XYZxyz(6.6485, 3.7731, 25.1838)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32238C #7D8C23
analogous
#23498C #32238C #67238C
triadic
#32238C #8C3223 #238C32
tetradic
#32238C #8C2349 #7D8C23 #238C67
square
#32238C #8C2349 #7D8C23 #238C67
split-complementary
#32238C #8C6723 #498C23
monochromatic
#0F0B2A #21175B #32238C #432FBD #6755D4

Accessibility & contrast

On white

11.97
#32238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#32238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32238C
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32238C#FFFFFF#000000##FFFFFF
##32238C1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #32238c;
/* rgb */ color: rgb(50, 35, 140);
/* oklch */ color: oklch(35.2% 0.163 280.4);
Tailwind
colors: {
  custom: {
    50: '#7660af',
    500: '#32238c',
    950: '#000000',
  },
}
SCSS
$custom: #32238c;
$custom-light: #7660af;
$custom-dark: #000000;
JSON
{
  "hex": "#32238c",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 248.571,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35211,
    "c": 0.16335,
    "h": 280.4
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#32238C
secondary
#AAB852
accent
#E345CD
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #32238C

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

Preview Lab → · Contrast checker → · Palette generator →

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