#3960E6#3960E6

#3960E6 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 54.3% C 0.208 H 266.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#3960E6
RGBrgb(57, 96, 230)
HSLhsl(226, 78%, 56%)
HSVhsv(226, 75%, 90%)
CMYKcmyk(75.2%, 58.3%, 0%, 9.8%)
CIE-LABlab(45.56, 32.78, -71.79)
CIE-LCHlch(45.56, 78.92, 294.54°)
OKLaboklab(54.3% -0.0117 -0.2073)
OKLCHoklch(54.3% 0.208 266.8)
XYZxyz(20.1481, 14.9465, 76.6707)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960E6 #E6BF39
analogous
#39B7E6 #3960E6 #6939E6
triadic
#3960E6 #E63960 #60E639
tetradic
#3960E6 #E639B7 #E6BF39 #39E669
square
#3960E6 #E639B7 #E6BF39 #39E669
split-complementary
#3960E6 #E66939 #B7E639
monochromatic
#122F92 #1941C8 #3960E6 #6F8CED #A6B7F4

Accessibility & contrast

On white

5.26
#3960E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#3960E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960E6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960E6#FFFFFF#000000##FFFFFF
##3960E61.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#00829A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3960e6;
/* rgb */ color: rgb(57, 96, 230);
/* oklch */ color: oklch(54.3% 0.208 266.8);
Tailwind
colors: {
  custom: {
    50: '#888cef',
    500: '#3960e6',
    950: '#000000',
  },
}
SCSS
$custom: #3960e6;
$custom-light: #888cef;
$custom-dark: #000000;
JSON
{
  "hex": "#3960e6",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 230
  },
  "hsl": {
    "h": 226.474,
    "s": 77.578,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54303,
    "c": 0.20766,
    "h": 266.8
  },
  "luminance": 0.14949
}

Semantic roles & 50–950 ramp

primary
#3960E6
secondary
#E1D19A
accent
#C934F4
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C17
muted
#7E7D85

Preview Lab

Preview with #3960E6

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

Preview Lab → · Contrast checker → · Palette generator →

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