#32238B#32238B

#32238B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.162 H 280.6°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#32238B
RGBrgb(50, 35, 139)
HSLhsl(249, 60%, 34%)
HSVhsv(249, 75%, 55%)
CMYKcmyk(64%, 74.8%, 0%, 45.5%)
CIE-LABlab(22.81, 37.99, -55.23)
CIE-LCHlch(22.81, 67.03, 304.52°)
OKLaboklab(35.11% 0.0297 -0.1593)
OKLCHoklch(35.11% 0.162 280.6)
XYZxyz(6.5752, 3.7438, 24.7972)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32238B #7C8B23
analogous
#23488B #32238B #66238B
triadic
#32238B #8B3223 #238B32
tetradic
#32238B #8B2348 #7C8B23 #238B66
square
#32238B #8B2348 #7C8B23 #238B66
split-complementary
#32238B #8B6623 #488B23
monochromatic
#0F0A29 #20175A #32238B #442FBC #6754D4

Accessibility & contrast

On white

12.01
#32238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32238B
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32238B#FFFFFF#000000##FFFFFF
##32238B1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #32238b;
/* rgb */ color: rgb(50, 35, 139);
/* oklch */ color: oklch(35.1% 0.162 280.6);
Tailwind
colors: {
  custom: {
    50: '#7660ae',
    500: '#32238b',
    950: '#000000',
  },
}
SCSS
$custom: #32238b;
$custom-light: #7660ae;
$custom-dark: #000000;
JSON
{
  "hex": "#32238b",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 248.654,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35108,
    "c": 0.16207,
    "h": 280.6
  },
  "luminance": 0.03744
}

Semantic roles & 50–950 ramp

primary
#32238B
secondary
#A9B852
accent
#E345CC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #32238B

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

Preview Lab → · Contrast checker → · Palette generator →

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