#3952C1#3952C1

#3952C1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.6% C 0.176 H 269.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#3952C1
RGBrgb(57, 82, 193)
HSLhsl(229, 54%, 49%)
HSVhsv(229, 70%, 76%)
CMYKcmyk(70.5%, 57.5%, 0%, 24.3%)
CIE-LABlab(39.16, 28.33, -60.99)
CIE-LCHlch(39.16, 67.25, 294.92°)
OKLaboklab(48.63% -0.0025 -0.1758)
OKLCHoklch(48.63% 0.176 269.2)
XYZxyz(14.3270, 10.7533, 51.7623)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952C1 #C1A839
analogous
#3996C1 #3952C1 #6439C1
triadic
#3952C1 #C13952 #52C139
tetradic
#3952C1 #C13996 #C1A839 #39C164
square
#3952C1 #C13996 #C1A839 #39C164
split-complementary
#3952C1 #C16439 #96C139
monochromatic
#1D2A63 #2B3E92 #3952C1 #6679D2 #95A3E0

Accessibility & contrast

On white

6.66
#3952C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3952C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952C1
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952C1#FFFFFF#000000##FFFFFF
##3952C11.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3952c1;
/* rgb */ color: rgb(57, 82, 193);
/* oklch */ color: oklch(48.6% 0.176 269.2);
Tailwind
colors: {
  custom: {
    50: '#8182d5',
    500: '#3952c1',
    950: '#000000',
  },
}
SCSS
$custom: #3952c1;
$custom-light: #8182d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3952c1",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 228.971,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48634,
    "c": 0.17579,
    "h": 269.2
  },
  "luminance": 0.10755
}

Semantic roles & 50–950 ramp

primary
#3952C1
secondary
#CBBF8B
accent
#C34ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3952C1

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

Preview Lab → · Contrast checker → · Palette generator →

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