#3937E2#3937E2

#3937E2 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.4% C 0.246 H 272.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#3937E2
RGBrgb(57, 55, 226)
HSLhsl(241, 75%, 55%)
HSVhsv(241, 76%, 89%)
CMYKcmyk(74.8%, 75.7%, 0%, 11.4%)
CIE-LABlab(36.16, 55.65, -84.96)
CIE-LCHlch(36.16, 101.56, 303.22°)
OKLaboklab(47.36% 0.0101 -0.2459)
OKLCHoklch(47.36% 0.246 272.3)
XYZxyz(16.7764, 9.0914, 72.8074)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3937E2 #E0E237
analogous
#378AE2 #3937E2 #8F37E2
triadic
#3937E2 #E23937 #37E239
tetradic
#3937E2 #E2378A #E0E237 #37E28F
square
#3937E2 #E2378A #E0E237 #37E28F
split-complementary
#3937E2 #E28F37 #8AE237
monochromatic
#15148B #1E1CC0 #3937E2 #6E6CEA #A3A2F2

Accessibility & contrast

On white

7.45
#3937E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3937E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3937E2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3937E2#FFFFFF#000000##FFFFFF
##3937E21.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE7
Deuteranopia (green-blind)
#004CDF
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3937e2;
/* rgb */ color: rgb(57, 55, 226);
/* oklch */ color: oklch(47.4% 0.246 272.3);
Tailwind
colors: {
  custom: {
    50: '#8a71ed',
    500: '#3937e2',
    950: '#000000',
  },
}
SCSS
$custom: #3937e2;
$custom-light: #8a71ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3937e2",
  "rgb": {
    "r": 57,
    "g": 55,
    "b": 226
  },
  "hsl": {
    "h": 240.702,
    "s": 74.672,
    "l": 55.098
  },
  "oklch": {
    "l": 0.47356,
    "c": 0.24612,
    "h": 272.3
  },
  "luminance": 0.09093
}

Semantic roles & 50–950 ramp

primary
#3937E2
secondary
#DDDE97
accent
#F137EF
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3937E2

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

Preview Lab → · Contrast checker → · Palette generator →

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