#3971C2#3971C2

#3971C2 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.2% C 0.140 H 257.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3971C2
RGBrgb(57, 113, 194)
HSLhsl(215, 55%, 49%)
HSVhsv(215, 71%, 76%)
CMYKcmyk(70.6%, 41.8%, 0%, 23.9%)
CIE-LABlab(47.72, 8.86, -47.78)
CIE-LCHlch(47.72, 48.59, 280.50°)
OKLaboklab(55.18% -0.0294 -0.1364)
OKLCHoklch(55.18% 0.14 257.8)
XYZxyz(17.3265, 16.5733, 53.3143)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971C2 #C28A39
analogous
#39B6C2 #3971C2 #4539C2
triadic
#3971C2 #C23971 #71C239
tetradic
#3971C2 #C239B6 #C28A39 #39C245
square
#3971C2 #C239B6 #C28A39 #39C245
split-complementary
#3971C2 #C24539 #B6C239
monochromatic
#1D3A63 #2B5593 #3971C2 #6692D2 #95B4E0

Accessibility & contrast

On white

4.87
#3971C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#3971C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971C2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971C2#FFFFFF#000000##FFFFFF
##3971C21.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#346BC0
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3971c2;
/* rgb */ color: rgb(57, 113, 194);
/* oklch */ color: oklch(55.2% 0.140 257.8);
Tailwind
colors: {
  custom: {
    50: '#8099d5',
    500: '#3971c2',
    950: '#000000',
  },
}
SCSS
$custom: #3971c2;
$custom-light: #8099d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3971c2",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 215.474,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55177,
    "c": 0.13957,
    "h": 257.8
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#3971C2
secondary
#CBB18B
accent
#A14ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3971C2

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

Preview Lab → · Contrast checker → · Palette generator →

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