#3952C4#3952C4

#3952C4 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.180 H 269.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#3952C4
RGBrgb(57, 82, 196)
HSLhsl(229, 55%, 50%)
HSVhsv(229, 71%, 77%)
CMYKcmyk(70.9%, 58.2%, 0%, 23.1%)
CIE-LABlab(39.39, 29.42, -62.36)
CIE-LCHlch(39.39, 68.95, 295.25°)
OKLaboklab(48.88% -0.0025 -0.1798)
OKLCHoklch(48.88% 0.18 269.2)
XYZxyz(14.6650, 10.8885, 53.5427)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952C4 #C4AB39
analogous
#3997C4 #3952C4 #6639C4
triadic
#3952C4 #C43952 #52C439
tetradic
#3952C4 #C43997 #C4AB39 #39C466
square
#3952C4 #C43997 #C4AB39 #39C466
split-complementary
#3952C4 #C46639 #97C439
monochromatic
#1D2A65 #2B3E95 #3952C4 #677BD3 #97A4E1

Accessibility & contrast

On white

6.61
#3952C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#3952C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952C4
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952C4#FFFFFF#000000##FFFFFF
##3952C41.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3952c4;
/* rgb */ color: rgb(57, 82, 196);
/* oklch */ color: oklch(48.9% 0.180 269.2);
Tailwind
colors: {
  custom: {
    50: '#8182d7',
    500: '#3952c4',
    950: '#000000',
  },
}
SCSS
$custom: #3952c4;
$custom-light: #8182d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3952c4",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 229.209,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48878,
    "c": 0.17983,
    "h": 269.2
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#3952C4
secondary
#CCC18D
accent
#C44ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3952C4

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

Preview Lab → · Contrast checker → · Palette generator →

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