#3960D2#3960D2

#3960D2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.7% C 0.181 H 266.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#3960D2
RGBrgb(57, 96, 210)
HSLhsl(225, 63%, 52%)
HSVhsv(225, 73%, 82%)
CMYKcmyk(72.9%, 54.3%, 0%, 17.6%)
CIE-LABlab(44.07, 25.52, -62.84)
CIE-LCHlch(44.07, 67.82, 292.10°)
OKLaboklab(52.72% -0.0126 -0.181)
OKLCHoklch(52.72% 0.181 266)
XYZxyz(17.4990, 13.8869, 62.7185)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960D2 #D2AB39
analogous
#39ACD2 #3960D2 #5F39D2
triadic
#3960D2 #D23960 #60D239
tetradic
#3960D2 #D239AC #D2AB39 #39D25F
square
#3960D2 #D239AC #D2AB39 #39D25F
split-complementary
#3960D2 #D25F39 #ACD239
monochromatic
#1B3276 #2647A8 #3960D2 #6B88DD #9DB0E9

Accessibility & contrast

On white

5.56
#3960D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#3960D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960D2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960D2#FFFFFF#000000##FFFFFF
##3960D21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#007C90
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3960d2;
/* rgb */ color: rgb(57, 96, 210);
/* oklch */ color: oklch(52.7% 0.181 266.0);
Tailwind
colors: {
  custom: {
    50: '#838ce1',
    500: '#3960d2',
    950: '#000000',
  },
}
SCSS
$custom: #3960d2;
$custom-light: #838ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#3960d2",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 210
  },
  "hsl": {
    "h": 224.706,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52716,
    "c": 0.18146,
    "h": 266
  },
  "luminance": 0.13889
}

Semantic roles & 50–950 ramp

primary
#3960D2
secondary
#D5C492
accent
#BC42E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3960D2

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

Preview Lab → · Contrast checker → · Palette generator →

#3960D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva