#3971CC#3971CC

#3971CC is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.8% C 0.153 H 259.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3971CC
RGBrgb(57, 113, 204)
HSLhsl(217, 59%, 51%)
HSVhsv(217, 72%, 80%)
CMYKcmyk(72.1%, 44.6%, 0%, 20%)
CIE-LABlab(48.31, 12.51, -52.57)
CIE-LCHlch(48.31, 54.04, 283.39°)
OKLaboklab(55.82% -0.0274 -0.1505)
OKLCHoklch(55.82% 0.153 259.7)
XYZxyz(18.4876, 17.0377, 59.4293)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971CC #CC9439
analogous
#39BACC #3971CC #4A39CC
triadic
#3971CC #CC3971 #71CC39
tetradic
#3971CC #CC39BA #CC9439 #39CC4A
square
#3971CC #CC39BA #CC9439 #39CC4A
split-complementary
#3971CC #CC4A39 #BACC39
monochromatic
#1C3C6E #29569F #3971CC #6A94D9 #9AB7E5

Accessibility & contrast

On white

4.76
#3971CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#3971CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971CC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971CC#FFFFFF#000000##FFFFFF
##3971CC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437ACF
Deuteranopia (green-blind)
#266CCA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3971cc;
/* rgb */ color: rgb(57, 113, 204);
/* oklch */ color: oklch(55.8% 0.153 259.7);
Tailwind
colors: {
  custom: {
    50: '#8199dc',
    500: '#3971cc',
    950: '#000000',
  },
}
SCSS
$custom: #3971cc;
$custom-light: #8199dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3971cc",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 217.143,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55824,
    "c": 0.153,
    "h": 259.7
  },
  "luminance": 0.1704
}

Semantic roles & 50–950 ramp

primary
#3971CC
secondary
#D1B890
accent
#A746E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3971CC

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

Preview Lab → · Contrast checker → · Palette generator →

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