#3960D4#3960D4

#3960D4 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.184 H 266.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#3960D4
RGBrgb(57, 96, 212)
HSLhsl(225, 64%, 53%)
HSVhsv(225, 73%, 83%)
CMYKcmyk(73.1%, 54.7%, 0%, 16.9%)
CIE-LABlab(44.21, 26.25, -63.75)
CIE-LCHlch(44.21, 68.94, 292.38°)
OKLaboklab(52.87% -0.0124 -0.1837)
OKLCHoklch(52.87% 0.184 266.1)
XYZxyz(17.7497, 13.9872, 64.0389)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960D4 #D4AD39
analogous
#39AED4 #3960D4 #5F39D4
triadic
#3960D4 #D43960 #60D439
tetradic
#3960D4 #D439AE #D4AD39 #39D45F
square
#3960D4 #D439AE #D4AD39 #39D45F
split-complementary
#3960D4 #D45F39 #AED439
monochromatic
#1A3278 #2547AB #3960D4 #6B88DF #9EB1EA

Accessibility & contrast

On white

5.53
#3960D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#3960D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960D4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960D4#FFFFFF#000000##FFFFFF
##3960D41.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#007C91
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3960d4;
/* rgb */ color: rgb(57, 96, 212);
/* oklch */ color: oklch(52.9% 0.184 266.1);
Tailwind
colors: {
  custom: {
    50: '#848ce2',
    500: '#3960d4',
    950: '#000000',
  },
}
SCSS
$custom: #3960d4;
$custom-light: #848ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#3960d4",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 212
  },
  "hsl": {
    "h": 224.903,
    "s": 64.315,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52871,
    "c": 0.18412,
    "h": 266.1
  },
  "luminance": 0.13989
}

Semantic roles & 50–950 ramp

primary
#3960D4
secondary
#D6C593
accent
#BD40E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3960D4

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

Preview Lab → · Contrast checker → · Palette generator →

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