#3971C4#3971C4

#3971C4 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.142 H 258.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3971C4
RGBrgb(57, 113, 196)
HSLhsl(216, 55%, 50%)
HSVhsv(216, 71%, 77%)
CMYKcmyk(70.9%, 42.3%, 0%, 23.1%)
CIE-LABlab(47.83, 9.59, -48.74)
CIE-LCHlch(47.83, 49.68, 281.13°)
OKLaboklab(55.31% -0.029 -0.1393)
OKLCHoklch(55.31% 0.142 258.2)
XYZxyz(17.5527, 16.6638, 54.5052)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971C4 #C48C39
analogous
#39B7C4 #3971C4 #4639C4
triadic
#3971C4 #C43971 #71C439
tetradic
#3971C4 #C439B7 #C48C39 #39C446
square
#3971C4 #C439B7 #C48C39 #39C446
split-complementary
#3971C4 #C44639 #B7C439
monochromatic
#1D3A65 #2B5695 #3971C4 #6793D3 #97B5E1

Accessibility & contrast

On white

4.85
#3971C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#3971C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971C4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971C4#FFFFFF#000000##FFFFFF
##3971C41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4978C7
Deuteranopia (green-blind)
#326CC2
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3971c4;
/* rgb */ color: rgb(57, 113, 196);
/* oklch */ color: oklch(55.3% 0.142 258.2);
Tailwind
colors: {
  custom: {
    50: '#8099d6',
    500: '#3971c4',
    950: '#000000',
  },
}
SCSS
$custom: #3971c4;
$custom-light: #8099d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3971c4",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 196
  },
  "hsl": {
    "h": 215.827,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55305,
    "c": 0.14225,
    "h": 258.2
  },
  "luminance": 0.16666
}

Semantic roles & 50–950 ramp

primary
#3971C4
secondary
#CCB38D
accent
#A24ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3971C4

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

Preview Lab → · Contrast checker → · Palette generator →

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