#3971C8#3971C8

#3971C8 is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.6% C 0.148 H 259.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3971C8
RGBrgb(57, 113, 200)
HSLhsl(217, 57%, 50%)
HSVhsv(217, 72%, 78%)
CMYKcmyk(71.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(48.07, 11.05, -50.66)
CIE-LCHlch(48.07, 51.86, 282.30°)
OKLaboklab(55.56% -0.0282 -0.1449)
OKLCHoklch(55.56% 0.148 259)
XYZxyz(18.0140, 16.8483, 56.9351)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971C8 #C89039
analogous
#39B9C8 #3971C8 #4839C8
triadic
#3971C8 #C83971 #71C839
tetradic
#3971C8 #C839B9 #C89039 #39C848
square
#3971C8 #C839B9 #C89039 #39C848
split-complementary
#3971C8 #C84839 #B9C839
monochromatic
#1D3B69 #2B5699 #3971C8 #6993D5 #99B6E3

Accessibility & contrast

On white

4.81
#3971C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#3971C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971C8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971C8#FFFFFF#000000##FFFFFF
##3971C81.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4679CB
Deuteranopia (green-blind)
#2C6CC6
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3971c8;
/* rgb */ color: rgb(57, 113, 200);
/* oklch */ color: oklch(55.6% 0.148 259.0);
Tailwind
colors: {
  custom: {
    50: '#8199d9',
    500: '#3971c8',
    950: '#000000',
  },
}
SCSS
$custom: #3971c8;
$custom-light: #8199d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3971c8",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 216.503,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55562,
    "c": 0.14763,
    "h": 259
  },
  "luminance": 0.1685
}

Semantic roles & 50–950 ramp

primary
#3971C8
secondary
#CEB58F
accent
#A448E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3971C8

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

Preview Lab → · Contrast checker → · Palette generator →

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