#3952A7#3952A7

#3952A7 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.6% C 0.140 H 268.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#3952A7
RGBrgb(57, 82, 167)
HSLhsl(226, 49%, 44%)
HSVhsv(226, 66%, 65%)
CMYKcmyk(65.9%, 50.9%, 0%, 34.5%)
CIE-LABlab(37.29, 18.88, -48.70)
CIE-LCHlch(37.29, 52.23, 291.19°)
OKLaboklab(46.63% -0.0043 -0.1396)
OKLCHoklch(46.63% 0.14 268.2)
XYZxyz(11.6773, 9.6934, 37.8073)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952A7 #A78E39
analogous
#3989A7 #3952A7 #5739A7
triadic
#3952A7 #A73952 #52A739
tetradic
#3952A7 #A73989 #A78E39 #39A757
square
#3952A7 #A73989 #A78E39 #39A757
split-complementary
#3952A7 #A75739 #89A739
monochromatic
#1A254C #293C79 #3952A7 #5770C6 #8597D5

Accessibility & contrast

On white

7.15
#3952A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3952A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3952A7#FFFFFF#000000##FFFFFF
##3952A71.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225DAA
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3952a7;
/* rgb */ color: rgb(57, 82, 167);
/* oklch */ color: oklch(46.6% 0.140 268.2);
Tailwind
colors: {
  custom: {
    50: '#7b82c2',
    500: '#3952a7',
    950: '#000000',
  },
}
SCSS
$custom: #3952a7;
$custom-light: #7b82c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3952a7",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 226.364,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46627,
    "c": 0.1397,
    "h": 268.2
  },
  "luminance": 0.09694
}

Semantic roles & 50–950 ramp

primary
#3952A7
secondary
#BFB07D
accent
#B94FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3952A7

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

Preview Lab → · Contrast checker → · Palette generator →

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