#3A32D2#3A32D2

#3A32D2 is a mid, highly saturated blue. Relative luminance 0.078; OKLCH L 45.1% C 0.232 H 274.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#3A32D2
RGBrgb(58, 50, 210)
HSLhsl(243, 64%, 51%)
HSVhsv(243, 76%, 82%)
CMYKcmyk(72.4%, 76.2%, 0%, 17.6%)
CIE-LABlab(33.63, 53.33, -79.94)
CIE-LCHlch(33.63, 96.09, 303.71°)
OKLaboklab(45.1% 0.0164 -0.2312)
OKLCHoklch(45.1% 0.232 274.1)
XYZxyz(14.5145, 7.8324, 61.7071)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A32D2 #CAD232
analogous
#327AD2 #3A32D2 #8A32D2
triadic
#3A32D2 #D23A32 #32D23A
tetradic
#3A32D2 #D2327A #CAD232 #32D28A
square
#3A32D2 #D2327A #CAD232 #32D28A
split-complementary
#3A32D2 #D28A32 #7AD232
monochromatic
#1D1971 #2A24A3 #3A32D2 #6A64DD #9A96E8

Accessibility & contrast

On white

8.18
#3A32D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3A32D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A32D2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A32D2#FFFFFF#000000##FFFFFF
##3A32D21.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D7
Deuteranopia (green-blind)
#0047CF
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a32d2;
/* rgb */ color: rgb(58, 50, 210);
/* oklch */ color: oklch(45.1% 0.232 274.1);
Tailwind
colors: {
  custom: {
    50: '#876de1',
    500: '#3a32d2',
    950: '#000000',
  },
}
SCSS
$custom: #3a32d2;
$custom-light: #876de1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a32d2",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 210
  },
  "hsl": {
    "h": 243,
    "s": 64,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45096,
    "c": 0.23182,
    "h": 274.1
  },
  "luminance": 0.07834
}

Semantic roles & 50–950 ramp

primary
#3A32D2
secondary
#D0D38C
accent
#E741DF
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #3A32D2

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

Preview Lab → · Contrast checker → · Palette generator →

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