#3952A4#3952A4

#3952A4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.4% C 0.135 H 268.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#3952A4
RGBrgb(57, 82, 164)
HSLhsl(226, 48%, 43%)
HSVhsv(226, 65%, 64%)
CMYKcmyk(65.2%, 50%, 0%, 35.7%)
CIE-LABlab(37.08, 17.79, -47.24)
CIE-LCHlch(37.08, 50.47, 290.64°)
OKLaboklab(46.41% -0.0046 -0.1353)
OKLCHoklch(46.41% 0.135 268)
XYZxyz(11.4032, 9.5837, 36.3637)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952A4 #A48B39
analogous
#3987A4 #3952A4 #5539A4
triadic
#3952A4 #A43952 #52A439
tetradic
#3952A4 #A43987 #A48B39 #39A455
square
#3952A4 #A43987 #A48B39 #39A455
split-complementary
#3952A4 #A45539 #87A439
monochromatic
#192549 #293B77 #3952A4 #5670C4 #8396D4

Accessibility & contrast

On white

7.20
#3952A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#3952A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3952A4
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952A4#FFFFFF#000000##FFFFFF
##3952A41.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA7
Deuteranopia (green-blind)
#0A53A2
Tritanopia (blue-blind)
#006573
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3952a4;
/* rgb */ color: rgb(57, 82, 164);
/* oklch */ color: oklch(46.4% 0.135 268.0);
Tailwind
colors: {
  custom: {
    50: '#7b82bf',
    500: '#3952a4',
    950: '#000000',
  },
}
SCSS
$custom: #3952a4;
$custom-light: #7b82bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3952a4",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 164
  },
  "hsl": {
    "h": 225.981,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4641,
    "c": 0.1354,
    "h": 268
  },
  "luminance": 0.09585
}

Semantic roles & 50–950 ramp

primary
#3952A4
secondary
#BEAE7B
accent
#B850D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3952A4

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

Preview Lab → · Contrast checker → · Palette generator →

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