#3952A5#3952A5

#3952A5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.5% C 0.137 H 268.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#3952A5
RGBrgb(57, 82, 165)
HSLhsl(226, 49%, 44%)
HSVhsv(226, 65%, 65%)
CMYKcmyk(65.5%, 50.3%, 0%, 35.3%)
CIE-LABlab(37.15, 18.15, -47.72)
CIE-LCHlch(37.15, 51.06, 290.83°)
OKLaboklab(46.48% -0.0045 -0.1368)
OKLCHoklch(46.48% 0.137 268.1)
XYZxyz(11.4938, 9.6200, 36.8411)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952A5 #A58C39
analogous
#3988A5 #3952A5 #5639A5
triadic
#3952A5 #A53952 #52A539
tetradic
#3952A5 #A53988 #A58C39 #39A556
square
#3952A5 #A53988 #A58C39 #39A556
split-complementary
#3952A5 #A55639 #88A539
monochromatic
#1A254A #293B78 #3952A5 #5670C5 #8497D4

Accessibility & contrast

On white

7.18
#3952A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3952A5#FFFFFF#000000##FFFFFF
##3952A51.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245DA8
Deuteranopia (green-blind)
#0653A3
Tritanopia (blue-blind)
#006573
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3952a5;
/* rgb */ color: rgb(57, 82, 165);
/* oklch */ color: oklch(46.5% 0.137 268.1);
Tailwind
colors: {
  custom: {
    50: '#7b82c0',
    500: '#3952a5',
    950: '#000000',
  },
}
SCSS
$custom: #3952a5;
$custom-light: #7b82c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3952a5",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 226.111,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46482,
    "c": 0.13683,
    "h": 268.1
  },
  "luminance": 0.09621
}

Semantic roles & 50–950 ramp

primary
#3952A5
secondary
#BEAF7B
accent
#B950D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3952A5

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

Preview Lab → · Contrast checker → · Palette generator →

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