#3971CE#3971CE

#3971CE is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.0% C 0.156 H 260.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3971CE
RGBrgb(57, 113, 206)
HSLhsl(217, 60%, 52%)
HSVhsv(217, 72%, 81%)
CMYKcmyk(72.3%, 45.1%, 0%, 19.2%)
CIE-LABlab(48.43, 13.25, -53.52)
CIE-LCHlch(48.43, 55.14, 283.90°)
OKLaboklab(55.96% -0.0271 -0.1533)
OKLCHoklch(55.96% 0.156 260)
XYZxyz(18.7290, 17.1343, 60.7007)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971CE #CE9639
analogous
#39BBCE #3971CE #4C39CE
triadic
#3971CE #CE3971 #71CE39
tetradic
#3971CE #CE39BB #CE9639 #39CE4C
square
#3971CE #CE39BB #CE9639 #39CE4C
split-complementary
#3971CE #CE4C39 #BBCE39
monochromatic
#1C3C71 #2856A2 #3971CE #6A94DA #9BB7E6

Accessibility & contrast

On white

4.74
#3971CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#3971CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971CE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971CE#FFFFFF#000000##FFFFFF
##3971CE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#417AD2
Deuteranopia (green-blind)
#236DCC
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3971ce;
/* rgb */ color: rgb(57, 113, 206);
/* oklch */ color: oklch(56.0% 0.156 260.0);
Tailwind
colors: {
  custom: {
    50: '#8299dd',
    500: '#3971ce',
    950: '#000000',
  },
}
SCSS
$custom: #3971ce;
$custom-light: #8299dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3971ce",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 217.45,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55957,
    "c": 0.15569,
    "h": 260
  },
  "luminance": 0.17136
}

Semantic roles & 50–950 ramp

primary
#3971CE
secondary
#D2BA91
accent
#A844E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3971CE

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

Preview Lab → · Contrast checker → · Palette generator →

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