#3952CD#3952CD

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

Color values

HEX#3952CD
RGBrgb(57, 82, 205)
HSLhsl(230, 60%, 51%)
HSVhsv(230, 72%, 80%)
CMYKcmyk(72.2%, 60%, 0%, 19.6%)
CIE-LABlab(40.10, 32.65, -66.42)
CIE-LCHlch(40.10, 74.02, 296.18°)
OKLaboklab(49.62% -0.0024 -0.1917)
OKLCHoklch(49.62% 0.192 269.3)
XYZxyz(15.7203, 11.3106, 59.1004)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952CD #CDB439
analogous
#399CCD #3952CD #6A39CD
triadic
#3952CD #CD3952 #52CD39
tetradic
#3952CD #CD399C #CDB439 #39CD6A
square
#3952CD #CD399C #CDB439 #39CD6A
split-complementary
#3952CD #CD6A39 #9CCD39
monochromatic
#1C2A6F #283DA0 #3952CD #6A7DD9 #9BA7E6

Accessibility & contrast

On white

6.44
#3952CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3952CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952CD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952CD#FFFFFF#000000##FFFFFF
##3952CD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0058CB
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3952cd;
/* rgb */ color: rgb(57, 82, 205);
/* oklch */ color: oklch(49.6% 0.192 269.3);
Tailwind
colors: {
  custom: {
    50: '#8382dd',
    500: '#3952cd',
    950: '#000000',
  },
}
SCSS
$custom: #3952cd;
$custom-light: #8382dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3952cd",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 229.865,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49624,
    "c": 0.19175,
    "h": 269.3
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

primary
#3952CD
secondary
#D2C790
accent
#C845E3
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3952CD

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

Preview Lab → · Contrast checker → · Palette generator →

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