#3971B7#3971B7

#3971B7 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.125 H 255.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3971B7
RGBrgb(57, 113, 183)
HSLhsl(213, 53%, 47%)
HSVhsv(213, 69%, 72%)
CMYKcmyk(68.9%, 38.3%, 0%, 28.2%)
CIE-LABlab(47.10, 4.87, -42.40)
CIE-LCHlch(47.10, 42.68, 276.55°)
OKLaboklab(54.5% -0.0319 -0.1207)
OKLCHoklch(54.5% 0.125 255.2)
XYZxyz(16.1366, 16.0973, 47.0472)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971B7 #B77F39
analogous
#39B0B7 #3971B7 #4039B7
triadic
#3971B7 #B73971 #71B739
tetradic
#3971B7 #B739B0 #B77F39 #39B740
square
#3971B7 #B739B0 #B77F39 #39B740
split-complementary
#3971B7 #B74039 #B0B739
monochromatic
#1C375A #2A5488 #3971B7 #6091CD #8EB1DC

Accessibility & contrast

On white

4.98
#3971B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3971B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3971B7#FFFFFF#000000##FFFFFF
##3971B71.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5176BA
Deuteranopia (green-blind)
#3F6AB6
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3971b7;
/* rgb */ color: rgb(57, 113, 183);
/* oklch */ color: oklch(54.5% 0.125 255.2);
Tailwind
colors: {
  custom: {
    50: '#7d99cd',
    500: '#3971b7',
    950: '#000000',
  },
}
SCSS
$custom: #3971b7;
$custom-light: #7d99cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3971b7",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 183
  },
  "hsl": {
    "h": 213.333,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54499,
    "c": 0.12481,
    "h": 255.2
  },
  "luminance": 0.16099
}

Semantic roles & 50–950 ramp

primary
#3971B7
secondary
#C7AA85
accent
#9C4CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3971B7

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

Preview Lab → · Contrast checker → · Palette generator →

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