#32238D#32238D

#32238D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.165 H 280.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#32238D
RGBrgb(50, 35, 141)
HSLhsl(248, 60%, 35%)
HSVhsv(248, 75%, 55%)
CMYKcmyk(64.5%, 75.2%, 0%, 44.7%)
CIE-LABlab(23.01, 38.64, -56.14)
CIE-LCHlch(23.01, 68.15, 304.54°)
OKLaboklab(35.31% 0.0293 -0.162)
OKLCHoklch(35.31% 0.165 280.2)
XYZxyz(6.7226, 3.8027, 25.5739)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32238D #7E8D23
analogous
#23498D #32238D #67238D
triadic
#32238D #8D3223 #238D32
tetradic
#32238D #8D2349 #7E8D23 #238D67
square
#32238D #8D2349 #7E8D23 #238D67
split-complementary
#32238D #8D6723 #498D23
monochromatic
#0F0B2B #21175C #32238D #432FBE #6855D5

Accessibility & contrast

On white

11.93
#32238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#32238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32238D
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32238D#FFFFFF#000000##FFFFFF
##32238D1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #32238d;
/* rgb */ color: rgb(50, 35, 141);
/* oklch */ color: oklch(35.3% 0.165 280.2);
Tailwind
colors: {
  custom: {
    50: '#7660af',
    500: '#32238d',
    950: '#000000',
  },
}
SCSS
$custom: #32238d;
$custom-light: #7660af;
$custom-dark: #000000;
JSON
{
  "hex": "#32238d",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 248.491,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35313,
    "c": 0.16462,
    "h": 280.2
  },
  "luminance": 0.03803
}

Semantic roles & 50–950 ramp

primary
#32238D
secondary
#ABB953
accent
#E344CD
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #32238D

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

Preview Lab → · Contrast checker → · Palette generator →

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