#3971CF#3971CF

#3971CF is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.0% C 0.157 H 260.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3971CF
RGBrgb(57, 113, 207)
HSLhsl(218, 61%, 52%)
HSVhsv(218, 72%, 81%)
CMYKcmyk(72.5%, 45.4%, 0%, 18.8%)
CIE-LABlab(48.49, 13.61, -53.99)
CIE-LCHlch(48.49, 55.68, 284.15°)
OKLaboklab(56.02% -0.0269 -0.1547)
OKLCHoklch(56.02% 0.157 260.1)
XYZxyz(18.8509, 17.1831, 61.3426)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971CF #CF9739
analogous
#39BCCF #3971CF #4C39CF
triadic
#3971CF #CF3971 #71CF39
tetradic
#3971CF #CF39BC #CF9739 #39CF4C
square
#3971CF #CF39BC #CF9739 #39CF4C
split-complementary
#3971CF #CF4C39 #BCCF39
monochromatic
#1C3C72 #2856A3 #3971CF #6A94DB #9CB8E7

Accessibility & contrast

On white

4.73
#3971CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3971CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971CF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971CF#FFFFFF#000000##FFFFFF
##3971CF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#417BD3
Deuteranopia (green-blind)
#216DCD
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3971cf;
/* rgb */ color: rgb(57, 113, 207);
/* oklch */ color: oklch(56.0% 0.157 260.1);
Tailwind
colors: {
  custom: {
    50: '#8299de',
    500: '#3971cf',
    950: '#000000',
  },
}
SCSS
$custom: #3971cf;
$custom-light: #8299de;
$custom-dark: #000000;
JSON
{
  "hex": "#3971cf",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 217.6,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56023,
    "c": 0.15702,
    "h": 260.1
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#3971CF
secondary
#D3BA91
accent
#A844E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3971CF

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

Preview Lab → · Contrast checker → · Palette generator →

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