#3952C6#3952C6

#3952C6 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.182 H 269.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3952C6
RGBrgb(57, 82, 198)
HSLhsl(229, 55%, 50%)
HSVhsv(229, 71%, 78%)
CMYKcmyk(71.2%, 58.6%, 0%, 22.4%)
CIE-LABlab(39.55, 30.14, -63.27)
CIE-LCHlch(39.55, 70.08, 295.47°)
OKLaboklab(49.04% -0.0024 -0.1825)
OKLCHoklch(49.04% 0.183 269.2)
XYZxyz(14.8942, 10.9801, 54.7496)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952C6 #C6AD39
analogous
#3998C6 #3952C6 #6739C6
triadic
#3952C6 #C63952 #52C639
tetradic
#3952C6 #C63998 #C6AD39 #39C667
square
#3952C6 #C63998 #C6AD39 #39C667
split-complementary
#3952C6 #C66739 #98C639
monochromatic
#1E2B67 #2B3E96 #3952C6 #697CD4 #98A5E1

Accessibility & contrast

On white

6.57
#3952C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3952C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952C6
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952C6#FFFFFF#000000##FFFFFF
##3952C61.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3952c6;
/* rgb */ color: rgb(57, 82, 198);
/* oklch */ color: oklch(49.0% 0.182 269.2);
Tailwind
colors: {
  custom: {
    50: '#8282d8',
    500: '#3952c6',
    950: '#000000',
  },
}
SCSS
$custom: #3952c6;
$custom-light: #8282d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3952c6",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 198
  },
  "hsl": {
    "h": 229.362,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.49042,
    "c": 0.1825,
    "h": 269.2
  },
  "luminance": 0.10982
}

Semantic roles & 50–950 ramp

primary
#3952C6
secondary
#CDC28E
accent
#C449DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3952C6

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

Preview Lab → · Contrast checker → · Palette generator →

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