#3931E2#3931E2

#3931E2 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.6% C 0.251 H 272.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3931E2
RGBrgb(57, 49, 226)
HSLhsl(243, 75%, 54%)
HSVhsv(243, 78%, 89%)
CMYKcmyk(74.8%, 78.3%, 0%, 11.4%)
CIE-LABlab(35.11, 58.65, -86.69)
CIE-LCHlch(35.11, 104.67, 304.08°)
OKLaboklab(46.62% 0.0122 -0.2509)
OKLCHoklch(46.62% 0.251 272.8)
XYZxyz(16.5085, 8.5557, 72.7181)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3931E2 #DAE231
analogous
#3182E2 #3931E2 #9231E2
triadic
#3931E2 #E23931 #31E239
tetradic
#3931E2 #E23182 #DAE231 #31E292
square
#3931E2 #E23182 #DAE231 #31E292
split-complementary
#3931E2 #E29231 #82E231
monochromatic
#181386 #221ABB #3931E2 #6D67EA #A09CF1

Accessibility & contrast

On white

7.75
#3931E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3931E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3931E2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3931E2#FFFFFF#000000##FFFFFF
##3931E21.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE7
Deuteranopia (green-blind)
#004ADF
Tritanopia (blue-blind)
#00688A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3931e2;
/* rgb */ color: rgb(57, 49, 226);
/* oklch */ color: oklch(46.6% 0.251 272.8);
Tailwind
colors: {
  custom: {
    50: '#8b6ded',
    500: '#3931e2',
    950: '#000000',
  },
}
SCSS
$custom: #3931e2;
$custom-light: #8b6ded;
$custom-dark: #000000;
JSON
{
  "hex": "#3931e2",
  "rgb": {
    "r": 57,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 242.712,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.46622,
    "c": 0.25116,
    "h": 272.8
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#3931E2
secondary
#DADD92
accent
#F236E9
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #3931E2

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

Preview Lab → · Contrast checker → · Palette generator →

#3931E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva