#32338B#32338B

#32338B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.143 H 276.6°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#32338B
RGBrgb(50, 51, 139)
HSLhsl(239, 47%, 37%)
HSVhsv(239, 64%, 55%)
CMYKcmyk(64%, 63.3%, 0%, 45.5%)
CIE-LABlab(26.47, 28.07, -49.22)
CIE-LCHlch(26.47, 56.66, 299.69°)
OKLaboklab(37.76% 0.0165 -0.1417)
OKLCHoklch(37.76% 0.143 276.6)
XYZxyz(7.1579, 4.9093, 24.9915)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32338B #8B8A32
analogous
#32608B #32338B #5E328B
triadic
#32338B #8B3233 #338B32
tetradic
#32338B #8B3260 #8B8A32 #328B5E
square
#32338B #8B3260 #8B8A32 #328B5E
split-complementary
#32338B #8B5E32 #608B32
monochromatic
#121231 #22225E #32338B #4244B8 #6D6ECA

Accessibility & contrast

On white

10.60
#32338B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#32338B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32338B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32338B#FFFFFF#000000##FFFFFF
##32338B1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #32338b;
/* rgb */ color: rgb(50, 51, 139);
/* oklch */ color: oklch(37.8% 0.143 276.6);
Tailwind
colors: {
  custom: {
    50: '#746bae',
    500: '#32338b',
    950: '#000000',
  },
}
SCSS
$custom: #32338b;
$custom-light: #746bae;
$custom-dark: #000000;
JSON
{
  "hex": "#32338b",
  "rgb": {
    "r": 50,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 239.326,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37759,
    "c": 0.14265,
    "h": 276.6
  },
  "luminance": 0.0491
}

Semantic roles & 50–950 ramp

primary
#32338B
secondary
#B2B167
accent
#D551D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #32338B

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

Preview Lab → · Contrast checker → · Palette generator →

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