#3952A2#3952A2

#3952A2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.3% C 0.133 H 267.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#3952A2
RGBrgb(57, 82, 162)
HSLhsl(226, 48%, 43%)
HSVhsv(226, 65%, 64%)
CMYKcmyk(64.8%, 49.4%, 0%, 36.5%)
CIE-LABlab(36.95, 17.06, -46.25)
CIE-LCHlch(36.95, 49.30, 290.25°)
OKLaboklab(46.27% -0.0049 -0.1324)
OKLCHoklch(46.27% 0.133 267.9)
XYZxyz(11.2240, 9.5121, 35.4199)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952A2 #A28939
analogous
#3986A2 #3952A2 #5439A2
triadic
#3952A2 #A23952 #52A239
tetradic
#3952A2 #A23986 #A28939 #39A254
square
#3952A2 #A23986 #A28939 #39A254
split-complementary
#3952A2 #A25439 #86A239
monochromatic
#192447 #293B75 #3952A2 #556FC3 #8296D3

Accessibility & contrast

On white

7.23
#3952A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3952A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3952A2#FFFFFF#000000##FFFFFF
##3952A21.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#1052A0
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3952a2;
/* rgb */ color: rgb(57, 82, 162);
/* oklch */ color: oklch(46.3% 0.133 267.9);
Tailwind
colors: {
  custom: {
    50: '#7a82be',
    500: '#3952a2',
    950: '#000000',
  },
}
SCSS
$custom: #3952a2;
$custom-light: #7a82be;
$custom-dark: #000000;
JSON
{
  "hex": "#3952a2",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 162
  },
  "hsl": {
    "h": 225.714,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46266,
    "c": 0.13252,
    "h": 267.9
  },
  "luminance": 0.09513
}

Semantic roles & 50–950 ramp

primary
#3952A2
secondary
#BDAD7A
accent
#B750D8
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3952A2

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

Preview Lab → · Contrast checker → · Palette generator →

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