#3971AB#3971AB

#3971AB is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.8% C 0.109 H 251.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3971AB
RGBrgb(57, 113, 171)
HSLhsl(211, 50%, 45%)
HSVhsv(211, 67%, 67%)
CMYKcmyk(66.7%, 33.9%, 0%, 32.9%)
CIE-LABlab(46.47, 0.57, -36.42)
CIE-LCHlch(46.47, 36.42, 270.90°)
OKLaboklab(53.8% -0.035 -0.1032)
OKLCHoklch(53.8% 0.109 251.2)
XYZxyz(14.9404, 15.6189, 40.7476)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971AB #AB7339
analogous
#39AAAB #3971AB #3A39AB
triadic
#3971AB #AB3971 #71AB39
tetradic
#3971AB #AB39AA #AB7339 #39AB3A
square
#3971AB #AB39AA #AB7339 #39AB3A
split-complementary
#3971AB #AB3A39 #AAAB39
monochromatic
#1A344F #2A537D #3971AB #5990C8 #87AFD7

Accessibility & contrast

On white

5.09
#3971AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#3971AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3971AB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3971AB#FFFFFF#000000##FFFFFF
##3971AB1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5874AD
Deuteranopia (green-blind)
#4869AA
Tritanopia (blue-blind)
#007F86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3971ab;
/* rgb */ color: rgb(57, 113, 171);
/* oklch */ color: oklch(53.8% 0.109 251.2);
Tailwind
colors: {
  custom: {
    50: '#7b99c4',
    500: '#3971ab',
    950: '#000000',
  },
}
SCSS
$custom: #3971ab;
$custom-light: #7b99c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3971ab",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 171
  },
  "hsl": {
    "h": 210.526,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53799,
    "c": 0.10896,
    "h": 251.2
  },
  "luminance": 0.1562
}

Semantic roles & 50–950 ramp

primary
#3971AB
secondary
#C1A07F
accent
#954EDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3971AB

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

Preview Lab → · Contrast checker → · Palette generator →

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