#3952B7#3952B7

#3952B7 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.8% C 0.162 H 269.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#3952B7
RGBrgb(57, 82, 183)
HSLhsl(228, 53%, 47%)
HSVhsv(228, 69%, 72%)
CMYKcmyk(68.9%, 55.2%, 0%, 28.2%)
CIE-LABlab(38.41, 24.70, -56.34)
CIE-LCHlch(38.41, 61.52, 293.67°)
OKLaboklab(47.84% -0.0029 -0.1621)
OKLCHoklch(47.84% 0.162 269)
XYZxyz(13.2489, 10.3221, 46.0847)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952B7 #B79E39
analogous
#3991B7 #3952B7 #5F39B7
triadic
#3952B7 #B73952 #52B739
tetradic
#3952B7 #B73991 #B79E39 #39B75F
square
#3952B7 #B73991 #B79E39 #39B75F
split-complementary
#3952B7 #B75F39 #91B739
monochromatic
#1C285A #2A3D88 #3952B7 #6076CD #8E9EDC

Accessibility & contrast

On white

6.85
#3952B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3952B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3952B7#FFFFFF#000000##FFFFFF
##3952B71.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3952b7;
/* rgb */ color: rgb(57, 82, 183);
/* oklch */ color: oklch(47.8% 0.162 269.0);
Tailwind
colors: {
  custom: {
    50: '#7f82cd',
    500: '#3952b7',
    950: '#000000',
  },
}
SCSS
$custom: #3952b7;
$custom-light: #7f82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3952b7",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 228.095,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47838,
    "c": 0.16216,
    "h": 269
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#3952B7
secondary
#C7BA85
accent
#BF4CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3952B7

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

Preview Lab → · Contrast checker → · Palette generator →

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