#3971AC#3971AC

#3971AC is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.9% C 0.110 H 251.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3971AC
RGBrgb(57, 113, 172)
HSLhsl(211, 50%, 45%)
HSVhsv(211, 67%, 67%)
CMYKcmyk(66.9%, 34.3%, 0%, 32.5%)
CIE-LABlab(46.52, 0.93, -36.92)
CIE-LCHlch(46.52, 36.93, 271.44°)
OKLaboklab(53.86% -0.0348 -0.1046)
OKLCHoklch(53.86% 0.11 251.6)
XYZxyz(15.0361, 15.6571, 41.2514)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971AC #AC7439
analogous
#39AAAC #3971AC #3B39AC
triadic
#3971AC #AC3971 #71AC39
tetradic
#3971AC #AC39AA #AC7439 #39AC3B
square
#3971AC #AC39AA #AC7439 #39AC3B
split-complementary
#3971AC #AC3B39 #AAAC39
monochromatic
#1B3550 #2A537E #3971AC #5A90C8 #88AFD8

Accessibility & contrast

On white

5.08
#3971AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#3971AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971AC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971AC#FFFFFF#000000##FFFFFF
##3971AC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5774AE
Deuteranopia (green-blind)
#4769AB
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3971ac;
/* rgb */ color: rgb(57, 113, 172);
/* oklch */ color: oklch(53.9% 0.110 251.6);
Tailwind
colors: {
  custom: {
    50: '#7c99c5',
    500: '#3971ac',
    950: '#000000',
  },
}
SCSS
$custom: #3971ac;
$custom-light: #7c99c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3971ac",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 172
  },
  "hsl": {
    "h": 210.783,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53855,
    "c": 0.11026,
    "h": 251.6
  },
  "luminance": 0.15659
}

Semantic roles & 50–950 ramp

primary
#3971AC
secondary
#C2A17F
accent
#964EDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #3971AC

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

Preview Lab → · Contrast checker → · Palette generator →

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