#3952B6#3952B6

#3952B6 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.161 H 268.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3952B6
RGBrgb(57, 82, 182)
HSLhsl(228, 52%, 47%)
HSVhsv(228, 69%, 71%)
CMYKcmyk(68.7%, 54.9%, 0%, 28.6%)
CIE-LABlab(38.34, 24.34, -55.88)
CIE-LCHlch(38.34, 60.95, 293.54°)
OKLaboklab(47.76% -0.003 -0.1607)
OKLCHoklch(47.76% 0.161 268.9)
XYZxyz(13.1452, 10.2806, 45.5385)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952B6 #B69D39
analogous
#3991B6 #3952B6 #5F39B6
triadic
#3952B6 #B63952 #52B639
tetradic
#3952B6 #B63991 #B69D39 #39B65F
square
#3952B6 #B63991 #B69D39 #39B65F
split-complementary
#3952B6 #B65F39 #91B639
monochromatic
#1C2859 #2A3D87 #3952B6 #5F75CD #8E9DDC

Accessibility & contrast

On white

6.87
#3952B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3952B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952B6
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952B6#FFFFFF#000000##FFFFFF
##3952B61.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3952b6;
/* rgb */ color: rgb(57, 82, 182);
/* oklch */ color: oklch(47.8% 0.161 268.9);
Tailwind
colors: {
  custom: {
    50: '#7e82cd',
    500: '#3952b6',
    950: '#000000',
  },
}
SCSS
$custom: #3952b6;
$custom-light: #7e82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3952b6",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 182
  },
  "hsl": {
    "h": 228,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4776,
    "c": 0.16077,
    "h": 268.9
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

primary
#3952B6
secondary
#C6B985
accent
#BF4CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3952B6

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

Preview Lab → · Contrast checker → · Palette generator →

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