#3971E2#3971E2

#3971E2 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.3% C 0.182 H 262.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3971E2
RGBrgb(57, 113, 226)
HSLhsl(220, 74%, 55%)
HSVhsv(220, 75%, 89%)
CMYKcmyk(74.8%, 50%, 0%, 11.4%)
CIE-LABlab(49.70, 20.59, -62.82)
CIE-LCHlch(49.70, 66.11, 288.14°)
OKLaboklab(57.34% -0.0242 -0.1807)
OKLCHoklch(57.34% 0.182 262.4)
XYZxyz(21.3150, 18.1687, 74.3203)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971E2 #E2AA39
analogous
#39C6E2 #3971E2 #5539E2
triadic
#3971E2 #E23971 #71E239
tetradic
#3971E2 #E239C6 #E2AA39 #39E255
square
#3971E2 #E239C6 #E2AA39 #39E255
split-complementary
#3971E2 #E25539 #C6E239
monochromatic
#153C8C #1C53C1 #3971E2 #6E97EA #A4BEF2

Accessibility & contrast

On white

4.53
#3971E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#3971E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3971E2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971E2#FFFFFF#000000##000000
##3971E21.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7EE6
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3971e2;
/* rgb */ color: rgb(57, 113, 226);
/* oklch */ color: oklch(57.3% 0.182 262.4);
Tailwind
colors: {
  custom: {
    50: '#8699ec',
    500: '#3971e2',
    950: '#000000',
  },
}
SCSS
$custom: #3971e2;
$custom-light: #8699ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3971e2",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 220.118,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57339,
    "c": 0.18228,
    "h": 262.4
  },
  "luminance": 0.18171
}

Semantic roles & 50–950 ramp

primary
#3971E2
secondary
#DFC798
accent
#B337F1
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #3971E2

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

Preview Lab → · Contrast checker → · Palette generator →

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