#3971B1#3971B1

#3971B1 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.1% C 0.117 H 253.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3971B1
RGBrgb(57, 113, 177)
HSLhsl(212, 51%, 46%)
HSVhsv(212, 68%, 69%)
CMYKcmyk(67.8%, 36.2%, 0%, 30.6%)
CIE-LABlab(46.78, 2.71, -39.43)
CIE-LCHlch(46.78, 39.52, 273.94°)
OKLaboklab(54.14% -0.0334 -0.112)
OKLCHoklch(54.14% 0.117 253.4)
XYZxyz(15.5254, 15.8528, 43.8282)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971B1 #B17939
analogous
#39ADB1 #3971B1 #3D39B1
triadic
#3971B1 #B13971 #71B139
tetradic
#3971B1 #B139AD #B17939 #39B13D
square
#3971B1 #B139AD #B17939 #39B13D
split-complementary
#3971B1 #B13D39 #ADB139
monochromatic
#1B3654 #2A5383 #3971B1 #5D90CB #8BB0DA

Accessibility & contrast

On white

5.04
#3971B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3971B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971B1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971B1#FFFFFF#000000##FFFFFF
##3971B11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5575B4
Deuteranopia (green-blind)
#436AB0
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3971b1;
/* rgb */ color: rgb(57, 113, 177);
/* oklch */ color: oklch(54.1% 0.117 253.4);
Tailwind
colors: {
  custom: {
    50: '#7c99c8',
    500: '#3971b1',
    950: '#000000',
  },
}
SCSS
$custom: #3971b1;
$custom-light: #7c99c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3971b1",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 177
  },
  "hsl": {
    "h": 212,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54143,
    "c": 0.11683,
    "h": 253.4
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#3971B1
secondary
#C4A582
accent
#994DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3971B1

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

Preview Lab → · Contrast checker → · Palette generator →

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