#3960E9#3960E9

#3960E9 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.5% C 0.212 H 266.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3960E9
RGBrgb(57, 96, 233)
HSLhsl(227, 80%, 57%)
HSVhsv(227, 76%, 91%)
CMYKcmyk(75.5%, 58.8%, 0%, 8.6%)
CIE-LABlab(45.79, 33.86, -73.11)
CIE-LCHlch(45.79, 80.57, 294.85°)
OKLaboklab(54.55% -0.0116 -0.2112)
OKLCHoklch(54.55% 0.212 266.9)
XYZxyz(20.5731, 15.1165, 78.9085)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3960E9 #E9C239
analogous
#39B8E9 #3960E9 #6A39E9
triadic
#3960E9 #E93960 #60E939
tetradic
#3960E9 #E939B8 #E9C239 #39E96A
square
#3960E9 #E939B8 #E9C239 #39E96A
split-complementary
#3960E9 #E96A39 #B8E939
monochromatic
#112E97 #173FCE #3960E9 #708CEF #A7B8F5

Accessibility & contrast

On white

5.22
#3960E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#3960E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3960E9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3960E9#FFFFFF#000000##FFFFFF
##3960E91.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#0064E6
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3960e9;
/* rgb */ color: rgb(57, 96, 233);
/* oklch */ color: oklch(54.5% 0.212 266.9);
Tailwind
colors: {
  custom: {
    50: '#888cf1',
    500: '#3960e9',
    950: '#000000',
  },
}
SCSS
$custom: #3960e9;
$custom-light: #888cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#3960e9",
  "rgb": {
    "r": 57,
    "g": 96,
    "b": 233
  },
  "hsl": {
    "h": 226.705,
    "s": 80,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54549,
    "c": 0.21151,
    "h": 266.9
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#3960E9
secondary
#E3D39B
accent
#CB31F6
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C17
muted
#7E7D85

Preview Lab

Preview with #3960E9

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

Preview Lab → · Contrast checker → · Palette generator →

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