#3971E3#3971E3

#3971E3 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.184 H 262.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3971E3
RGBrgb(57, 113, 227)
HSLhsl(220, 75%, 56%)
HSVhsv(220, 75%, 89%)
CMYKcmyk(74.9%, 50.2%, 0%, 11%)
CIE-LABlab(49.77, 20.95, -63.27)
CIE-LCHlch(49.77, 66.65, 288.32°)
OKLaboklab(57.41% -0.024 -0.182)
OKLCHoklch(57.41% 0.184 262.5)
XYZxyz(21.4526, 18.2238, 75.0451)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971E3 #E3AB39
analogous
#39C6E3 #3971E3 #5639E3
triadic
#3971E3 #E33971 #71E339
tetradic
#3971E3 #E339C6 #E3AB39 #39E356
square
#3971E3 #E339C6 #E3AB39 #39E356
split-complementary
#3971E3 #E35639 #C6E339
monochromatic
#143C8E #1C53C3 #3971E3 #6F97EB #A4BEF2

Accessibility & contrast

On white

4.52
#3971E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#3971E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3971E3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971E3#FFFFFF#000000##000000
##3971E31.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3971e3;
/* rgb */ color: rgb(57, 113, 227);
/* oklch */ color: oklch(57.4% 0.184 262.5);
Tailwind
colors: {
  custom: {
    50: '#8699ec',
    500: '#3971e3',
    950: '#000000',
  },
}
SCSS
$custom: #3971e3;
$custom-light: #8699ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3971e3",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 227
  },
  "hsl": {
    "h": 220.235,
    "s": 75.221,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.18359,
    "h": 262.5
  },
  "luminance": 0.18226
}

Semantic roles & 50–950 ramp

primary
#3971E3
secondary
#DFC899
accent
#B436F2
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #3971E3

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

Preview Lab → · Contrast checker → · Palette generator →

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