#32398D#32398D

#32398D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.138 H 274.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#32398D
RGBrgb(50, 57, 141)
HSLhsl(235, 48%, 37%)
HSVhsv(235, 65%, 55%)
CMYKcmyk(64.5%, 59.6%, 0%, 44.7%)
CIE-LABlab(28.19, 24.81, -47.68)
CIE-LCHlch(28.19, 53.74, 297.49°)
OKLaboklab(39.07% 0.0108 -0.1371)
OKLCHoklch(39.07% 0.138 274.5)
XYZxyz(7.5847, 5.5268, 25.8612)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32398D #8D8632
analogous
#32668D #32398D #59328D
triadic
#32398D #8D3239 #398D32
tetradic
#32398D #8D3266 #8D8632 #328D59
square
#32398D #8D3266 #8D8632 #328D59
split-complementary
#32398D #8D5932 #668D32
monochromatic
#121433 #222760 #32398D #424BBA #6E75CC

Accessibility & contrast

On white

9.97
#32398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32398D
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32398D#FFFFFF#000000##FFFFFF
##32398D1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #32398d;
/* rgb */ color: rgb(50, 57, 141);
/* oklch */ color: oklch(39.1% 0.138 274.5);
Tailwind
colors: {
  custom: {
    50: '#746faf',
    500: '#32398d',
    950: '#000000',
  },
}
SCSS
$custom: #32398d;
$custom-light: #746faf;
$custom-dark: #000000;
JSON
{
  "hex": "#32398d",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 235.385,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39074,
    "c": 0.13753,
    "h": 274.5
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#32398D
secondary
#B3AD68
accent
#CD51D7
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #32398D

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

Preview Lab → · Contrast checker → · Palette generator →

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