#3A32AC#3A32AC

#3A32AC is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.186 H 277.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#3A32AC
RGBrgb(58, 50, 172)
HSLhsl(244, 55%, 44%)
HSVhsv(244, 71%, 67%)
CMYKcmyk(66.3%, 70.9%, 0%, 32.5%)
CIE-LABlab(29.81, 41.16, -63.86)
CIE-LCHlch(29.81, 75.97, 302.80°)
OKLaboklab(41.24% 0.0238 -0.1844)
OKLCHoklch(41.24% 0.186 277.4)
XYZxyz(10.3295, 6.1584, 39.6661)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A32AC #A4AC32
analogous
#3267AC #3A32AC #7732AC
triadic
#3A32AC #AC3A32 #32AC3A
tetradic
#3A32AC #AC3267 #A4AC32 #32AC77
square
#3A32AC #AC3267 #A4AC32 #32AC77
split-complementary
#3A32AC #AC7732 #67AC32
monochromatic
#1A164D #2A247D #3A32AC #574FCC #857FDA

Accessibility & contrast

On white

9.41
#3A32AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3A32AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A32AC
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A32AC#FFFFFF#000000##FFFFFF
##3A32AC1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3a32ac;
/* rgb */ color: rgb(58, 50, 172);
/* oklch */ color: oklch(41.2% 0.186 277.4);
Tailwind
colors: {
  custom: {
    50: '#7f6bc6',
    500: '#3a32ac',
    950: '#000000',
  },
}
SCSS
$custom: #3a32ac;
$custom-light: #7f6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a32ac",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 243.934,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41242,
    "c": 0.1859,
    "h": 277.4
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#3A32AC
secondary
#BEC377
accent
#DE4AD5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A32AC

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

Preview Lab → · Contrast checker → · Palette generator →

#3A32AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva