#32238F#32238F

#32238F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.167 H 279.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#32238F
RGBrgb(50, 35, 143)
HSLhsl(248, 61%, 35%)
HSVhsv(248, 76%, 56%)
CMYKcmyk(65%, 75.5%, 0%, 43.9%)
CIE-LABlab(23.21, 39.29, -57.05)
CIE-LCHlch(23.21, 69.27, 304.55°)
OKLaboklab(35.52% 0.0288 -0.1646)
OKLCHoklch(35.52% 0.167 279.9)
XYZxyz(6.8728, 3.8628, 26.3647)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32238F #808F23
analogous
#234A8F #32238F #68238F
triadic
#32238F #8F3223 #238F32
tetradic
#32238F #8F234A #808F23 #238F68
square
#32238F #8F234A #808F23 #238F68
split-complementary
#32238F #8F6823 #4A8F23
monochromatic
#100B2D #21175E #32238F #432FC0 #6857D6

Accessibility & contrast

On white

11.85
#32238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#32238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32238F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32238F#FFFFFF#000000##FFFFFF
##32238F1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #32238f;
/* rgb */ color: rgb(50, 35, 143);
/* oklch */ color: oklch(35.5% 0.167 279.9);
Tailwind
colors: {
  custom: {
    50: '#7760b1',
    500: '#32238f',
    950: '#000000',
  },
}
SCSS
$custom: #32238f;
$custom-light: #7760b1;
$custom-dark: #000000;
JSON
{
  "hex": "#32238f",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 248.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35519,
    "c": 0.16714,
    "h": 279.9
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#32238F
secondary
#ACBA54
accent
#E444CE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #32238F

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

Preview Lab → · Contrast checker → · Palette generator →

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