#3961E7#3961E7

#3961E7 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 54.6% C 0.208 H 266.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#3961E7
RGBrgb(57, 97, 231)
HSLhsl(226, 78%, 56%)
HSVhsv(226, 75%, 91%)
CMYKcmyk(75.3%, 58%, 0%, 9.4%)
CIE-LABlab(45.89, 32.51, -71.82)
CIE-LCHlch(45.89, 78.84, 294.35°)
OKLaboklab(54.57% -0.0123 -0.2074)
OKLCHoklch(54.57% 0.208 266.6)
XYZxyz(20.3808, 15.1865, 77.4430)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3961E7 #E7BF39
analogous
#39B8E7 #3961E7 #6839E7
triadic
#3961E7 #E73961 #61E739
tetradic
#3961E7 #E739B8 #E7BF39 #39E768
square
#3961E7 #E739B8 #E7BF39 #39E768
split-complementary
#3961E7 #E76839 #B8E739
monochromatic
#123094 #1941CA #3961E7 #708DEE #A6B8F4

Accessibility & contrast

On white

5.20
#3961E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#3961E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3961E7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3961E7#FFFFFF#000000##FFFFFF
##3961E71.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EB
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#00839B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3961e7;
/* rgb */ color: rgb(57, 97, 231);
/* oklch */ color: oklch(54.6% 0.208 266.6);
Tailwind
colors: {
  custom: {
    50: '#888df0',
    500: '#3961e7',
    950: '#000000',
  },
}
SCSS
$custom: #3961e7;
$custom-light: #888df0;
$custom-dark: #000000;
JSON
{
  "hex": "#3961e7",
  "rgb": {
    "r": 57,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 226.207,
    "s": 78.378,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54572,
    "c": 0.20777,
    "h": 266.6
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#3961E7
secondary
#E2D19A
accent
#C833F5
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C17
muted
#7E7D85

Preview Lab

Preview with #3961E7

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

Preview Lab → · Contrast checker → · Palette generator →

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