#3952B4#3952B4

#3952B4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.6% C 0.158 H 268.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3952B4
RGBrgb(57, 82, 180)
HSLhsl(228, 52%, 46%)
HSVhsv(228, 68%, 71%)
CMYKcmyk(68.3%, 54.4%, 0%, 29.4%)
CIE-LABlab(38.20, 23.61, -54.93)
CIE-LCHlch(38.20, 59.79, 293.26°)
OKLaboklab(47.61% -0.0031 -0.158)
OKLCHoklch(47.61% 0.158 268.9)
XYZxyz(12.9400, 10.1985, 44.4577)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952B4 #B49B39
analogous
#3990B4 #3952B4 #5E39B4
triadic
#3952B4 #B43952 #52B439
tetradic
#3952B4 #B43990 #B49B39 #39B45E
square
#3952B4 #B43990 #B49B39 #39B45E
split-complementary
#3952B4 #B45E39 #90B439
monochromatic
#1C2857 #2A3D86 #3952B4 #5E74CC #8D9DDB

Accessibility & contrast

On white

6.91
#3952B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3952B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952B4
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952B4#FFFFFF#000000##FFFFFF
##3952B41.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0560B7
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3952b4;
/* rgb */ color: rgb(57, 82, 180);
/* oklch */ color: oklch(47.6% 0.158 268.9);
Tailwind
colors: {
  custom: {
    50: '#7e82cb',
    500: '#3952b4',
    950: '#000000',
  },
}
SCSS
$custom: #3952b4;
$custom-light: #7e82cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3952b4",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 227.805,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47605,
    "c": 0.158,
    "h": 268.9
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#3952B4
secondary
#C5B883
accent
#BE4CDB
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3952B4

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

Preview Lab → · Contrast checker → · Palette generator →

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