#3952C2#3952C2

#3952C2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.177 H 269.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#3952C2
RGBrgb(57, 82, 194)
HSLhsl(229, 55%, 49%)
HSVhsv(229, 71%, 76%)
CMYKcmyk(70.6%, 57.7%, 0%, 23.9%)
CIE-LABlab(39.24, 28.69, -61.44)
CIE-LCHlch(39.24, 67.81, 295.03°)
OKLaboklab(48.72% -0.0025 -0.1771)
OKLCHoklch(48.72% 0.177 269.2)
XYZxyz(14.4389, 10.7980, 52.3518)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952C2 #C2A939
analogous
#3997C2 #3952C2 #6539C2
triadic
#3952C2 #C23952 #52C239
tetradic
#3952C2 #C23997 #C2A939 #39C265
square
#3952C2 #C23997 #C2A939 #39C265
split-complementary
#3952C2 #C26539 #97C239
monochromatic
#1D2A63 #2B3E93 #3952C2 #667AD2 #95A3E0

Accessibility & contrast

On white

6.65
#3952C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3952C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952C2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952C2#FFFFFF#000000##FFFFFF
##3952C21.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3952c2;
/* rgb */ color: rgb(57, 82, 194);
/* oklch */ color: oklch(48.7% 0.177 269.2);
Tailwind
colors: {
  custom: {
    50: '#8182d5',
    500: '#3952c2',
    950: '#000000',
  },
}
SCSS
$custom: #3952c2;
$custom-light: #8182d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3952c2",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 229.051,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48715,
    "c": 0.17714,
    "h": 269.2
  },
  "luminance": 0.10799
}

Semantic roles & 50–950 ramp

primary
#3952C2
secondary
#CBC08B
accent
#C34ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3952C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3952C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva