#3952AA#3952AA

#3952AA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.144 H 268.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#3952AA
RGBrgb(57, 82, 170)
HSLhsl(227, 50%, 45%)
HSVhsv(227, 66%, 67%)
CMYKcmyk(66.5%, 51.8%, 0%, 33.3%)
CIE-LABlab(37.49, 19.97, -50.15)
CIE-LCHlch(37.49, 53.99, 291.71°)
OKLaboklab(46.85% -0.004 -0.1439)
OKLCHoklch(46.85% 0.144 268.4)
XYZxyz(11.9579, 9.8056, 39.2849)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952AA #AA9139
analogous
#398BAA #3952AA #5939AA
triadic
#3952AA #AA3952 #52AA39
tetradic
#3952AA #AA398B #AA9139 #39AA59
square
#3952AA #AA398B #AA9139 #39AA59
split-complementary
#3952AA #AA5939 #8BAA39
monochromatic
#1A264E #2A3C7C #3952AA #5971C7 #8798D7

Accessibility & contrast

On white

7.09
#3952AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3952AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3952AA#FFFFFF#000000##FFFFFF
##3952AA1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5EAD
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3952aa;
/* rgb */ color: rgb(57, 82, 170);
/* oklch */ color: oklch(46.8% 0.144 268.4);
Tailwind
colors: {
  custom: {
    50: '#7c82c4',
    500: '#3952aa',
    950: '#000000',
  },
}
SCSS
$custom: #3952aa;
$custom-light: #7c82c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3952aa",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 226.726,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46848,
    "c": 0.14396,
    "h": 268.4
  },
  "luminance": 0.09807
}

Semantic roles & 50–950 ramp

primary
#3952AA
secondary
#C1B27E
accent
#BB4ED9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3952AA

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

Preview Lab → · Contrast checker → · Palette generator →

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