#3952D5#3952D5

#3952D5 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.3% C 0.202 H 269.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#3952D5
RGBrgb(57, 82, 213)
HSLhsl(230, 65%, 53%)
HSVhsv(230, 73%, 84%)
CMYKcmyk(73.2%, 61.5%, 0%, 16.5%)
CIE-LABlab(40.75, 35.51, -69.97)
CIE-LCHlch(40.75, 78.47, 296.91°)
OKLaboklab(50.31% -0.0025 -0.2021)
OKLCHoklch(50.31% 0.202 269.3)
XYZxyz(16.7107, 11.7068, 64.3168)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952D5 #D5BC39
analogous
#39A0D5 #3952D5 #6E39D5
triadic
#3952D5 #D53952 #52D539
tetradic
#3952D5 #D539A0 #D5BC39 #39D56E
square
#3952D5 #D539A0 #D5BC39 #39D56E
split-complementary
#3952D5 #D56E39 #A0D539
monochromatic
#1A297A #253AAC #3952D5 #6B7EE0 #9EAAEA

Accessibility & contrast

On white

6.28
#3952D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#3952D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952D5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952D5#FFFFFF#000000##FFFFFF
##3952D51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3952d5;
/* rgb */ color: rgb(57, 82, 213);
/* oklch */ color: oklch(50.3% 0.202 269.3);
Tailwind
colors: {
  custom: {
    50: '#8582e3',
    500: '#3952d5',
    950: '#000000',
  },
}
SCSS
$custom: #3952d5;
$custom-light: #8582e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3952d5",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 230.385,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50305,
    "c": 0.20217,
    "h": 269.3
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#3952D5
secondary
#D7CC93
accent
#CD40E8
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3952D5

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

Preview Lab → · Contrast checker → · Palette generator →

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