#3971C3#3971C3

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

Color values

HEX#3971C3
RGBrgb(57, 113, 195)
HSLhsl(216, 55%, 49%)
HSVhsv(216, 71%, 76%)
CMYKcmyk(70.8%, 42.1%, 0%, 23.5%)
CIE-LABlab(47.78, 9.22, -48.26)
CIE-LCHlch(47.78, 49.14, 280.82°)
OKLaboklab(55.24% -0.0292 -0.1379)
OKLCHoklch(55.24% 0.141 258)
XYZxyz(17.4392, 16.6184, 53.9078)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971C3 #C38B39
analogous
#39B6C3 #3971C3 #4639C3
triadic
#3971C3 #C33971 #71C339
tetradic
#3971C3 #C339B6 #C38B39 #39C346
square
#3971C3 #C339B6 #C38B39 #39C346
split-complementary
#3971C3 #C34639 #B6C339
monochromatic
#1D3A64 #2B5694 #3971C3 #6792D2 #96B4E0

Accessibility & contrast

On white

4.86
#3971C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#3971C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971C3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971C3#FFFFFF#000000##FFFFFF
##3971C31.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C6
Deuteranopia (green-blind)
#336BC1
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3971c3;
/* rgb */ color: rgb(57, 113, 195);
/* oklch */ color: oklch(55.2% 0.141 258.0);
Tailwind
colors: {
  custom: {
    50: '#8099d5',
    500: '#3971c3',
    950: '#000000',
  },
}
SCSS
$custom: #3971c3;
$custom-light: #8099d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3971c3",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 195
  },
  "hsl": {
    "h": 215.652,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55241,
    "c": 0.14091,
    "h": 258
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3971C3

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

Preview Lab → · Contrast checker → · Palette generator →

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