#3952CC#3952CC

#3952CC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.5% C 0.190 H 269.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#3952CC
RGBrgb(57, 82, 204)
HSLhsl(230, 59%, 51%)
HSVhsv(230, 72%, 80%)
CMYKcmyk(72.1%, 59.8%, 0%, 20%)
CIE-LABlab(40.02, 32.30, -65.98)
CIE-LCHlch(40.02, 73.46, 296.08°)
OKLaboklab(49.54% -0.0024 -0.1904)
OKLCHoklch(49.54% 0.19 269.3)
XYZxyz(15.6000, 11.2625, 58.4668)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952CC #CCB339
analogous
#399BCC #3952CC #6939CC
triadic
#3952CC #CC3952 #52CC39
tetradic
#3952CC #CC399B #CCB339 #39CC69
square
#3952CC #CC399B #CCB339 #39CC69
split-complementary
#3952CC #CC6939 #9BCC39
monochromatic
#1C2A6E #293D9F #3952CC #6A7DD9 #9AA7E5

Accessibility & contrast

On white

6.46
#3952CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3952CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952CC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952CC#FFFFFF#000000##FFFFFF
##3952CC1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3952cc;
/* rgb */ color: rgb(57, 82, 204);
/* oklch */ color: oklch(49.5% 0.190 269.3);
Tailwind
colors: {
  custom: {
    50: '#8382dc',
    500: '#3952cc',
    950: '#000000',
  },
}
SCSS
$custom: #3952cc;
$custom-light: #8382dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3952cc",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 229.796,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4954,
    "c": 0.19044,
    "h": 269.3
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#3952CC
secondary
#D1C690
accent
#C846E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3952CC

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

Preview Lab → · Contrast checker → · Palette generator →

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