#3952AE#3952AE

#3952AE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.150 H 268.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#3952AE
RGBrgb(57, 82, 174)
HSLhsl(227, 51%, 45%)
HSVhsv(227, 67%, 68%)
CMYKcmyk(67.2%, 52.9%, 0%, 31.8%)
CIE-LABlab(37.77, 21.43, -52.08)
CIE-LCHlch(37.77, 56.32, 292.37°)
OKLaboklab(47.15% -0.0036 -0.1496)
OKLCHoklch(47.15% 0.15 268.6)
XYZxyz(12.3420, 9.9593, 41.3081)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952AE #AE9539
analogous
#398DAE #3952AE #5A39AE
triadic
#3952AE #AE3952 #52AE39
tetradic
#3952AE #AE398D #AE9539 #39AE5A
square
#3952AE #AE398D #AE9539 #39AE5A
split-complementary
#3952AE #AE5A39 #8DAE39
monochromatic
#1B2752 #2A3C80 #3952AE #5B73C9 #899AD8

Accessibility & contrast

On white

7.02
#3952AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3952AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3952AE#FFFFFF#000000##FFFFFF
##3952AE1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175EB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3952ae;
/* rgb */ color: rgb(57, 82, 174);
/* oklch */ color: oklch(47.1% 0.150 268.6);
Tailwind
colors: {
  custom: {
    50: '#7d82c7',
    500: '#3952ae',
    950: '#000000',
  },
}
SCSS
$custom: #3952ae;
$custom-light: #7d82c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3952ae",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 174
  },
  "hsl": {
    "h": 227.179,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47147,
    "c": 0.14961,
    "h": 268.6
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

primary
#3952AE
secondary
#C3B480
accent
#BC4EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3952AE

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

Preview Lab → · Contrast checker → · Palette generator →

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