#3952D1#3952D1

#3952D1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.197 H 269.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#3952D1
RGBrgb(57, 82, 209)
HSLhsl(230, 62%, 52%)
HSVhsv(230, 73%, 82%)
CMYKcmyk(72.7%, 60.8%, 0%, 18%)
CIE-LABlab(40.42, 34.08, -68.20)
CIE-LCHlch(40.42, 76.25, 296.55°)
OKLaboklab(49.96% -0.0024 -0.197)
OKLCHoklch(49.96% 0.197 269.3)
XYZxyz(16.2093, 11.5062, 61.6759)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3952D1 #D1B839
analogous
#399ED1 #3952D1 #6C39D1
triadic
#3952D1 #D13952 #52D139
tetradic
#3952D1 #D1399E #D1B839 #39D16C
square
#3952D1 #D1399E #D1B839 #39D16C
split-complementary
#3952D1 #D16C39 #9ED139
monochromatic
#1B2A75 #273CA6 #3952D1 #6B7DDD #9CA9E8

Accessibility & contrast

On white

6.36
#3952D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3952D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3952D1
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3952D1#FFFFFF#000000##FFFFFF
##3952D11.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0058CF
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3952d1;
/* rgb */ color: rgb(57, 82, 209);
/* oklch */ color: oklch(50.0% 0.197 269.3);
Tailwind
colors: {
  custom: {
    50: '#8482e0',
    500: '#3952d1',
    950: '#000000',
  },
}
SCSS
$custom: #3952d1;
$custom-light: #8482e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3952d1",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 230.132,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49963,
    "c": 0.19698,
    "h": 269.3
  },
  "luminance": 0.11508
}

Semantic roles & 50–950 ramp

primary
#3952D1
secondary
#D4C992
accent
#CB42E5
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3952D1

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

Preview Lab → · Contrast checker → · Palette generator →

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