#3971B3#3971B3

#3971B3 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.3% C 0.119 H 254.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3971B3
RGBrgb(57, 113, 179)
HSLhsl(212, 52%, 46%)
HSVhsv(212, 68%, 70%)
CMYKcmyk(68.2%, 36.9%, 0%, 29.8%)
CIE-LABlab(46.89, 3.43, -40.42)
CIE-LCHlch(46.89, 40.57, 274.85°)
OKLaboklab(54.26% -0.0329 -0.1149)
OKLCHoklch(54.26% 0.119 254)
XYZxyz(15.7262, 15.9332, 44.8857)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971B3 #B37B39
analogous
#39AEB3 #3971B3 #3E39B3
triadic
#3971B3 #B33971 #71B339
tetradic
#3971B3 #B339AE #B37B39 #39B33E
square
#3971B3 #B339AE #B37B39 #39B33E
split-complementary
#3971B3 #B33E39 #AEB339
monochromatic
#1B3656 #2A5485 #3971B3 #5E90CC #8CB0DA

Accessibility & contrast

On white

5.02
#3971B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#3971B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971B3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971B3#FFFFFF#000000##FFFFFF
##3971B31.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5475B6
Deuteranopia (green-blind)
#426AB2
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3971b3;
/* rgb */ color: rgb(57, 113, 179);
/* oklch */ color: oklch(54.3% 0.119 254.0);
Tailwind
colors: {
  custom: {
    50: '#7d99ca',
    500: '#3971b3',
    950: '#000000',
  },
}
SCSS
$custom: #3971b3;
$custom-light: #7d99ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3971b3",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 179
  },
  "hsl": {
    "h": 212.459,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5426,
    "c": 0.11949,
    "h": 254
  },
  "luminance": 0.15935
}

Semantic roles & 50–950 ramp

primary
#3971B3
secondary
#C5A783
accent
#9A4DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3971B3

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

Preview Lab → · Contrast checker → · Palette generator →

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