#3952CA#3952CA

#3952CA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.188 H 269.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#3952CA
RGBrgb(57, 82, 202)
HSLhsl(230, 58%, 51%)
HSVhsv(230, 72%, 79%)
CMYKcmyk(71.8%, 59.4%, 0%, 20.8%)
CIE-LABlab(39.86, 31.58, -65.08)
CIE-LCHlch(39.86, 72.33, 295.88°)
OKLaboklab(49.37% -0.0024 -0.1878)
OKLCHoklch(49.37% 0.188 269.3)
XYZxyz(15.3616, 11.1671, 57.2116)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952CA #CAB139
analogous
#399ACA #3952CA #6839CA
triadic
#3952CA #CA3952 #52CA39
tetradic
#3952CA #CA399A #CAB139 #39CA68
square
#3952CA #CA399A #CAB139 #39CA68
split-complementary
#3952CA #CA6839 #9ACA39
monochromatic
#1D2A6C #2A3D9C #3952CA #697CD7 #9AA6E4

Accessibility & contrast

On white

6.49
#3952CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3952CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952CA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952CA#FFFFFF#000000##FFFFFF
##3952CA1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3952ca;
/* rgb */ color: rgb(57, 82, 202);
/* oklch */ color: oklch(49.4% 0.188 269.3);
Tailwind
colors: {
  custom: {
    50: '#8382db',
    500: '#3952ca',
    950: '#000000',
  },
}
SCSS
$custom: #3952ca;
$custom-light: #8382db;
$custom-dark: #000000;
JSON
{
  "hex": "#3952ca",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 229.655,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49373,
    "c": 0.18781,
    "h": 269.3
  },
  "luminance": 0.11169
}

Semantic roles & 50–950 ramp

primary
#3952CA
secondary
#D0C48F
accent
#C647E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3952CA

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

Preview Lab → · Contrast checker → · Palette generator →

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