#3971BA#3971BA

#3971BA is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.7% C 0.129 H 256.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3971BA
RGBrgb(57, 113, 186)
HSLhsl(214, 53%, 48%)
HSVhsv(214, 69%, 73%)
CMYKcmyk(69.4%, 39.2%, 0%, 27.1%)
CIE-LABlab(47.27, 5.95, -43.88)
CIE-LCHlch(47.27, 44.28, 277.73°)
OKLaboklab(54.68% -0.0312 -0.125)
OKLCHoklch(54.68% 0.129 256)
XYZxyz(16.4522, 16.2236, 48.7093)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971BA #BA8239
analogous
#39B2BA #3971BA #4139BA
triadic
#3971BA #BA3971 #71BA39
tetradic
#3971BA #BA39B2 #BA8239 #39BA41
square
#3971BA #BA39B2 #BA8239 #39BA41
split-complementary
#3971BA #BA4139 #B2BA39
monochromatic
#1C385C #2B558B #3971BA #6191CF #90B2DD

Accessibility & contrast

On white

4.95
#3971BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#3971BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3971BA#FFFFFF#000000##FFFFFF
##3971BA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3971ba;
/* rgb */ color: rgb(57, 113, 186);
/* oklch */ color: oklch(54.7% 0.129 256.0);
Tailwind
colors: {
  custom: {
    50: '#7e99cf',
    500: '#3971ba',
    950: '#000000',
  },
}
SCSS
$custom: #3971ba;
$custom-light: #7e99cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3971ba",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 213.953,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5468,
    "c": 0.12883,
    "h": 256
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

primary
#3971BA
secondary
#C8AC87
accent
#9D4BDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3971BA

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

Preview Lab → · Contrast checker → · Palette generator →

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