#32268C#32268C

#32268C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.160 H 279.8°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#32268C
RGBrgb(50, 38, 140)
HSLhsl(247, 57%, 35%)
HSVhsv(247, 73%, 55%)
CMYKcmyk(64.3%, 72.9%, 0%, 45.1%)
CIE-LABlab(23.53, 36.57, -54.66)
CIE-LCHlch(23.53, 65.77, 303.79°)
OKLaboklab(35.65% 0.0273 -0.1577)
OKLCHoklch(35.65% 0.16 279.8)
XYZxyz(6.7406, 3.9573, 25.2145)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32268C #808C26
analogous
#264D8C #32268C #65268C
triadic
#32268C #8C3226 #268C32
tetradic
#32268C #8C264D #808C26 #268C65
square
#32268C #8C264D #808C26 #268C65
split-complementary
#32268C #8C6526 #4D8C26
monochromatic
#100C2C #21195C #32268C #4333BC #685AD2

Accessibility & contrast

On white

11.72
#32268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#32268C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32268C
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32268C#FFFFFF#000000##FFFFFF
##32268C1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #32268c;
/* rgb */ color: rgb(50, 38, 140);
/* oklch */ color: oklch(35.7% 0.160 279.8);
Tailwind
colors: {
  custom: {
    50: '#7662af',
    500: '#32268c',
    950: '#000000',
  },
}
SCSS
$custom: #32268c;
$custom-light: #7662af;
$custom-dark: #000000;
JSON
{
  "hex": "#32268c",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 247.059,
    "s": 57.303,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35653,
    "c": 0.16003,
    "h": 279.8
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#32268C
secondary
#ACB757
accent
#E147CF
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #32268C

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

Preview Lab → · Contrast checker → · Palette generator →

#32268C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva