#3971D0#3971D0

#3971D0 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.1% C 0.158 H 260.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#3971D0
RGBrgb(57, 113, 208)
HSLhsl(218, 62%, 52%)
HSVhsv(218, 73%, 82%)
CMYKcmyk(72.6%, 45.7%, 0%, 18.4%)
CIE-LABlab(48.55, 13.98, -54.47)
CIE-LCHlch(48.55, 56.23, 284.40°)
OKLaboklab(56.09% -0.0267 -0.1561)
OKLCHoklch(56.09% 0.158 260.3)
XYZxyz(18.9735, 17.2321, 61.9885)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971D0 #D09839
analogous
#39BDD0 #3971D0 #4C39D0
triadic
#3971D0 #D03971 #71D039
tetradic
#3971D0 #D039BD #D09839 #39D04C
square
#3971D0 #D039BD #D09839 #39D04C
split-complementary
#3971D0 #D04C39 #BDD039
monochromatic
#1B3C73 #2756A5 #3971D0 #6A94DC #9CB8E7

Accessibility & contrast

On white

4.72
#3971D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#3971D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971D0
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971D0#FFFFFF#000000##FFFFFF
##3971D01.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#407BD4
Deuteranopia (green-blind)
#1F6DCE
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3971d0;
/* rgb */ color: rgb(57, 113, 208);
/* oklch */ color: oklch(56.1% 0.158 260.3);
Tailwind
colors: {
  custom: {
    50: '#8299df',
    500: '#3971d0',
    950: '#000000',
  },
}
SCSS
$custom: #3971d0;
$custom-light: #8299df;
$custom-dark: #000000;
JSON
{
  "hex": "#3971d0",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 208
  },
  "hsl": {
    "h": 217.748,
    "s": 61.633,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5609,
    "c": 0.15837,
    "h": 260.3
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

primary
#3971D0
secondary
#D3BB91
accent
#A943E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3971D0

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

Preview Lab → · Contrast checker → · Palette generator →

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