#3961E6#3961E6

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

Color values

HEX#3961E6
RGBrgb(57, 97, 230)
HSLhsl(226, 78%, 56%)
HSVhsv(226, 75%, 90%)
CMYKcmyk(75.2%, 57.8%, 0%, 9.8%)
CIE-LABlab(45.81, 32.15, -71.38)
CIE-LCHlch(45.81, 78.29, 294.25°)
OKLaboklab(54.49% -0.0123 -0.2061)
OKLCHoklch(54.49% 0.206 266.6)
XYZxyz(20.2400, 15.1302, 76.7013)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961E6 #E6BE39
analogous
#39B8E6 #3961E6 #6839E6
triadic
#3961E6 #E63961 #61E639
tetradic
#3961E6 #E639B8 #E6BE39 #39E668
square
#3961E6 #E639B8 #E6BE39 #39E668
split-complementary
#3961E6 #E66839 #B8E639
monochromatic
#123092 #1942C8 #3961E6 #6F8CED #A6B8F4

Accessibility & contrast

On white

5.22
#3961E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#3961E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961E6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961E6#FFFFFF#000000##FFFFFF
##3961E61.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3961e6;
/* rgb */ color: rgb(57, 97, 230);
/* oklch */ color: oklch(54.5% 0.206 266.6);
Tailwind
colors: {
  custom: {
    50: '#888def',
    500: '#3961e6',
    950: '#000000',
  },
}
SCSS
$custom: #3961e6;
$custom-light: #888def;
$custom-dark: #000000;
JSON
{
  "hex": "#3961e6",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 230
  },
  "hsl": {
    "h": 226.127,
    "s": 77.578,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54491,
    "c": 0.20648,
    "h": 266.6
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3961E6

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

Preview Lab → · Contrast checker → · Palette generator →

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