#32398E#32398E

#32398E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.139 H 274.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#32398E
RGBrgb(50, 57, 142)
HSLhsl(235, 48%, 38%)
HSVhsv(235, 65%, 56%)
CMYKcmyk(64.8%, 59.9%, 0%, 44.3%)
CIE-LABlab(28.27, 25.17, -48.16)
CIE-LCHlch(28.27, 54.34, 297.59°)
OKLaboklab(39.16% 0.0108 -0.1385)
OKLCHoklch(39.16% 0.139 274.4)
XYZxyz(7.6594, 5.5567, 26.2549)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32398E #8E8732
analogous
#32678E #32398E #59328E
triadic
#32398E #8E3239 #398E32
tetradic
#32398E #8E3267 #8E8732 #328E59
square
#32398E #8E3267 #8E8732 #328E59
split-complementary
#32398E #8E5932 #678E32
monochromatic
#121533 #222761 #32398E #424BBB #6E75CC

Accessibility & contrast

On white

9.95
#32398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#32398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32398E
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32398E#FFFFFF#000000##FFFFFF
##32398E1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #32398e;
/* rgb */ color: rgb(50, 57, 142);
/* oklch */ color: oklch(39.2% 0.139 274.4);
Tailwind
colors: {
  custom: {
    50: '#756fb0',
    500: '#32398e',
    950: '#000000',
  },
}
SCSS
$custom: #32398e;
$custom-light: #756fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#32398e",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 235.435,
    "s": 47.917,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39158,
    "c": 0.13896,
    "h": 274.4
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#32398E
secondary
#B4AE68
accent
#CD50D8
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #32398E

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

Preview Lab → · Contrast checker → · Palette generator →

#32398E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva