#3971C1#3971C1

#3971C1 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.1% C 0.138 H 257.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3971C1
RGBrgb(57, 113, 193)
HSLhsl(215, 54%, 49%)
HSVhsv(215, 70%, 76%)
CMYKcmyk(70.5%, 41.5%, 0%, 24.3%)
CIE-LABlab(47.66, 8.50, -47.29)
CIE-LCHlch(47.66, 48.05, 280.18°)
OKLaboklab(55.11% -0.0296 -0.135)
OKLCHoklch(55.11% 0.138 257.6)
XYZxyz(17.2146, 16.5285, 52.7248)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971C1 #C18939
analogous
#39B5C1 #3971C1 #4539C1
triadic
#3971C1 #C13971 #71C139
tetradic
#3971C1 #C139B5 #C18939 #39C145
square
#3971C1 #C139B5 #C18939 #39C145
split-complementary
#3971C1 #C14539 #B5C139
monochromatic
#1D3A63 #2B5592 #3971C1 #6692D2 #95B4E0

Accessibility & contrast

On white

4.88
#3971C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3971C1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971C1#FFFFFF#000000##FFFFFF
##3971C11.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B78C4
Deuteranopia (green-blind)
#356BBF
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3971c1;
/* rgb */ color: rgb(57, 113, 193);
/* oklch */ color: oklch(55.1% 0.138 257.6);
Tailwind
colors: {
  custom: {
    50: '#7f99d4',
    500: '#3971c1',
    950: '#000000',
  },
}
SCSS
$custom: #3971c1;
$custom-light: #7f99d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3971c1",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 193
  },
  "hsl": {
    "h": 215.294,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55114,
    "c": 0.13823,
    "h": 257.6
  },
  "luminance": 0.1653
}

Semantic roles & 50–950 ramp

primary
#3971C1
secondary
#CBB18B
accent
#A14ADE
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3971C1

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

Preview Lab → · Contrast checker → · Palette generator →

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