#3952B5#3952B5

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

Color values

HEX#3952B5
RGBrgb(57, 82, 181)
HSLhsl(228, 52%, 47%)
HSVhsv(228, 69%, 71%)
CMYKcmyk(68.5%, 54.7%, 0%, 29%)
CIE-LABlab(38.27, 23.98, -55.40)
CIE-LCHlch(38.27, 60.37, 293.40°)
OKLaboklab(47.68% -0.0031 -0.1594)
OKLCHoklch(47.68% 0.159 268.9)
XYZxyz(13.0423, 10.2394, 44.9962)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952B5 #B59C39
analogous
#3990B5 #3952B5 #5E39B5
triadic
#3952B5 #B53952 #52B539
tetradic
#3952B5 #B53990 #B59C39 #39B55E
square
#3952B5 #B53990 #B59C39 #39B55E
split-complementary
#3952B5 #B55E39 #90B539
monochromatic
#1C2858 #2A3D86 #3952B5 #5F75CD #8D9DDB

Accessibility & contrast

On white

6.89
#3952B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3952B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952B5
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952B5#FFFFFF#000000##FFFFFF
##3952B51.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0160B8
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3952b5;
/* rgb */ color: rgb(57, 82, 181);
/* oklch */ color: oklch(47.7% 0.159 268.9);
Tailwind
colors: {
  custom: {
    50: '#7e82cc',
    500: '#3952b5',
    950: '#000000',
  },
}
SCSS
$custom: #3952b5;
$custom-light: #7e82cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3952b5",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 181
  },
  "hsl": {
    "h": 227.903,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47682,
    "c": 0.15939,
    "h": 268.9
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3952B5

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

Preview Lab → · Contrast checker → · Palette generator →

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