#3971D7#3971D7

#3971D7 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.6% C 0.168 H 261.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3971D7
RGBrgb(57, 113, 215)
HSLhsl(219, 66%, 53%)
HSVhsv(219, 73%, 84%)
CMYKcmyk(73.5%, 47.4%, 0%, 15.7%)
CIE-LABlab(48.99, 16.55, -57.75)
CIE-LCHlch(48.99, 60.07, 285.99°)
OKLaboklab(56.57% -0.0256 -0.1657)
OKLCHoklch(56.57% 0.168 261.2)
XYZxyz(19.8538, 17.5842, 66.6245)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971D7 #D79F39
analogous
#39C0D7 #3971D7 #5039D7
triadic
#3971D7 #D73971 #71D739
tetradic
#3971D7 #D739C0 #D79F39 #39D750
square
#3971D7 #D739C0 #D79F39 #39D750
split-complementary
#3971D7 #D75039 #C0D739
monochromatic
#193C7C #2355AF #3971D7 #6C96E1 #9FBAEC

Accessibility & contrast

On white

4.65
#3971D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3971D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3971D7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971D7#FFFFFF#000000##FFFFFF
##3971D71.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#397CDB
Deuteranopia (green-blind)
#076ED5
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3971d7;
/* rgb */ color: rgb(57, 113, 215);
/* oklch */ color: oklch(56.6% 0.168 261.2);
Tailwind
colors: {
  custom: {
    50: '#8499e4',
    500: '#3971d7',
    950: '#000000',
  },
}
SCSS
$custom: #3971d7;
$custom-light: #8499e4;
$custom-dark: #000000;
JSON
{
  "hex": "#3971d7",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 215
  },
  "hsl": {
    "h": 218.734,
    "s": 66.387,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56566,
    "c": 0.16771,
    "h": 261.2
  },
  "luminance": 0.17586
}

Semantic roles & 50–950 ramp

primary
#3971D7
secondary
#D8C094
accent
#AD3EE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #3971D7

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

Preview Lab → · Contrast checker → · Palette generator →

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