#3971AA#3971AA

#3971AA is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.7% C 0.108 H 250.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#3971AA
RGBrgb(57, 113, 170)
HSLhsl(210, 50%, 45%)
HSVhsv(210, 66%, 67%)
CMYKcmyk(66.5%, 33.5%, 0%, 33.3%)
CIE-LABlab(46.42, 0.22, -35.91)
CIE-LCHlch(46.42, 35.91, 270.35°)
OKLaboklab(53.74% -0.0353 -0.1017)
OKLCHoklch(53.74% 0.108 250.9)
XYZxyz(14.8455, 15.5809, 40.2475)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971AA #AA7239
analogous
#39AAAA #3971AA #3939AA
triadic
#3971AA #AA3971 #71AA39
tetradic
#3971AA #AA39AA #AA7239 #39AA39
square
#3971AA #AA39AA #AA7239 #39AA39
split-complementary
#3971AA #AA3939 #AAAA39
monochromatic
#1A344E #2A537C #3971AA #5990C7 #87AED7

Accessibility & contrast

On white

5.10
#3971AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3971AA#FFFFFF#000000##FFFFFF
##3971AA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5874AC
Deuteranopia (green-blind)
#4869A9
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3971aa;
/* rgb */ color: rgb(57, 113, 170);
/* oklch */ color: oklch(53.7% 0.108 250.9);
Tailwind
colors: {
  custom: {
    50: '#7b99c3',
    500: '#3971aa',
    950: '#000000',
  },
}
SCSS
$custom: #3971aa;
$custom-light: #7b99c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3971aa",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 210.265,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53742,
    "c": 0.10766,
    "h": 250.9
  },
  "luminance": 0.15582
}

Semantic roles & 50–950 ramp

primary
#3971AA
secondary
#C1A07E
accent
#954ED9
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3971AA

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

Preview Lab → · Contrast checker → · Palette generator →

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