#3952C5#3952C5

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

Color values

HEX#3952C5
RGBrgb(57, 82, 197)
HSLhsl(229, 55%, 50%)
HSVhsv(229, 71%, 77%)
CMYKcmyk(71.1%, 58.4%, 0%, 22.7%)
CIE-LABlab(39.47, 29.78, -62.81)
CIE-LCHlch(39.47, 69.51, 295.36°)
OKLaboklab(48.96% -0.0024 -0.1811)
OKLCHoklch(48.96% 0.181 269.2)
XYZxyz(14.7792, 10.9342, 54.1441)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952C5 #C5AC39
analogous
#3998C5 #3952C5 #6639C5
triadic
#3952C5 #C53952 #52C539
tetradic
#3952C5 #C53998 #C5AC39 #39C566
square
#3952C5 #C53998 #C5AC39 #39C566
split-complementary
#3952C5 #C56639 #98C539
monochromatic
#1E2A66 #2B3E96 #3952C5 #687BD3 #97A5E1

Accessibility & contrast

On white

6.59
#3952C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3952C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952C5
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952C5#FFFFFF#000000##FFFFFF
##3952C51.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C9
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3952c5;
/* rgb */ color: rgb(57, 82, 197);
/* oklch */ color: oklch(49.0% 0.181 269.2);
Tailwind
colors: {
  custom: {
    50: '#8182d7',
    500: '#3952c5',
    950: '#000000',
  },
}
SCSS
$custom: #3952c5;
$custom-light: #8182d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3952c5",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 197
  },
  "hsl": {
    "h": 229.286,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4896,
    "c": 0.18116,
    "h": 269.2
  },
  "luminance": 0.10936
}

Semantic roles & 50–950 ramp

primary
#3952C5
secondary
#CDC18D
accent
#C449DE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3952C5

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

Preview Lab → · Contrast checker → · Palette generator →

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