#3971BF#3971BF

#3971BF is a mid, vivid cyan. Relative luminance 0.164; OKLCH L 55.0% C 0.136 H 257.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3971BF
RGBrgb(57, 113, 191)
HSLhsl(215, 54%, 49%)
HSVhsv(215, 70%, 75%)
CMYKcmyk(70.2%, 40.8%, 0%, 25.1%)
CIE-LABlab(47.55, 7.77, -46.32)
CIE-LCHlch(47.55, 46.97, 279.52°)
OKLaboklab(54.99% -0.03 -0.1322)
OKLCHoklch(54.99% 0.136 257.2)
XYZxyz(16.9930, 16.4399, 51.5578)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971BF #BF8739
analogous
#39B4BF #3971BF #4439BF
triadic
#3971BF #BF3971 #71BF39
tetradic
#3971BF #BF39B4 #BF8739 #39BF44
square
#3971BF #BF39B4 #BF8739 #39BF44
split-complementary
#3971BF #BF4439 #B4BF39
monochromatic
#1D3961 #2B5590 #3971BF #6492D1 #93B3DF

Accessibility & contrast

On white

4.90
#3971BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#3971BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971BF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971BF#FFFFFF#000000##FFFFFF
##3971BF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C2
Deuteranopia (green-blind)
#376BBD
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3971bf;
/* rgb */ color: rgb(57, 113, 191);
/* oklch */ color: oklch(55.0% 0.136 257.2);
Tailwind
colors: {
  custom: {
    50: '#7f99d3',
    500: '#3971bf',
    950: '#000000',
  },
}
SCSS
$custom: #3971bf;
$custom-light: #7f99d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3971bf",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 214.925,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54989,
    "c": 0.13554,
    "h": 257.2
  },
  "luminance": 0.16442
}

Semantic roles & 50–950 ramp

primary
#3971BF
secondary
#CAAF8A
accent
#A04ADD
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3971BF

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

Preview Lab → · Contrast checker → · Palette generator →

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