#3971C5#3971C5

#3971C5 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.4% C 0.144 H 258.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3971C5
RGBrgb(57, 113, 197)
HSLhsl(216, 55%, 50%)
HSVhsv(216, 71%, 77%)
CMYKcmyk(71.1%, 42.6%, 0%, 22.7%)
CIE-LABlab(47.89, 9.95, -49.23)
CIE-LCHlch(47.89, 50.22, 281.43°)
OKLaboklab(55.37% -0.0288 -0.1407)
OKLCHoklch(55.37% 0.144 258.4)
XYZxyz(17.6669, 16.7094, 55.1067)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971C5 #C58D39
analogous
#39B7C5 #3971C5 #4739C5
triadic
#3971C5 #C53971 #71C539
tetradic
#3971C5 #C539B7 #C58D39 #39C547
square
#3971C5 #C539B7 #C58D39 #39C547
split-complementary
#3971C5 #C54739 #B7C539
monochromatic
#1E3B66 #2B5696 #3971C5 #6893D3 #97B5E1

Accessibility & contrast

On white

4.84
#3971C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#3971C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971C5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971C5#FFFFFF#000000##FFFFFF
##3971C51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4879C8
Deuteranopia (green-blind)
#306CC3
Tritanopia (blue-blind)
#008591
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3971c5;
/* rgb */ color: rgb(57, 113, 197);
/* oklch */ color: oklch(55.4% 0.144 258.4);
Tailwind
colors: {
  custom: {
    50: '#8099d7',
    500: '#3971c5',
    950: '#000000',
  },
}
SCSS
$custom: #3971c5;
$custom-light: #8099d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3971c5",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 197
  },
  "hsl": {
    "h": 216,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55369,
    "c": 0.1436,
    "h": 258.4
  },
  "luminance": 0.16711
}

Semantic roles & 50–950 ramp

primary
#3971C5
secondary
#CDB38D
accent
#A349DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3971C5

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

Preview Lab → · Contrast checker → · Palette generator →

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