#3952C7#3952C7

#3952C7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.1% C 0.184 H 269.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#3952C7
RGBrgb(57, 82, 199)
HSLhsl(229, 56%, 50%)
HSVhsv(229, 71%, 78%)
CMYKcmyk(71.4%, 58.8%, 0%, 22%)
CIE-LABlab(39.62, 30.50, -63.72)
CIE-LCHlch(39.62, 70.64, 295.58°)
OKLaboklab(49.12% -0.0024 -0.1838)
OKLCHoklch(49.12% 0.184 269.2)
XYZxyz(15.0099, 11.0264, 55.3590)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952C7 #C7AE39
analogous
#3999C7 #3952C7 #6739C7
triadic
#3952C7 #C73952 #52C739
tetradic
#3952C7 #C73999 #C7AE39 #39C767
square
#3952C7 #C73999 #C7AE39 #39C767
split-complementary
#3952C7 #C76739 #99C739
monochromatic
#1D2B68 #2B3E98 #3952C7 #697CD4 #98A5E2

Accessibility & contrast

On white

6.55
#3952C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#3952C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952C7
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952C7#FFFFFF#000000##FFFFFF
##3952C71.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3952c7;
/* rgb */ color: rgb(57, 82, 199);
/* oklch */ color: oklch(49.1% 0.184 269.2);
Tailwind
colors: {
  custom: {
    50: '#8282d9',
    500: '#3952c7',
    950: '#000000',
  },
}
SCSS
$custom: #3952c7;
$custom-light: #8282d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3952c7",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 229.437,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49124,
    "c": 0.18383,
    "h": 269.2
  },
  "luminance": 0.11028
}

Semantic roles & 50–950 ramp

primary
#3952C7
secondary
#CEC28E
accent
#C549DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3952C7

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

Preview Lab → · Contrast checker → · Palette generator →

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