#3971B5#3971B5

#3971B5 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.4% C 0.122 H 254.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3971B5
RGBrgb(57, 113, 181)
HSLhsl(213, 52%, 47%)
HSVhsv(213, 69%, 71%)
CMYKcmyk(68.5%, 37.6%, 0%, 29%)
CIE-LABlab(46.99, 4.15, -41.42)
CIE-LCHlch(46.99, 41.62, 275.72°)
OKLaboklab(54.38% -0.0324 -0.1178)
OKLCHoklch(54.38% 0.122 254.6)
XYZxyz(15.9299, 16.0147, 45.9587)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971B5 #B57D39
analogous
#39AFB5 #3971B5 #3F39B5
triadic
#3971B5 #B53971 #71B539
tetradic
#3971B5 #B539AF #B57D39 #39B53F
square
#3971B5 #B539AF #B57D39 #39B53F
split-complementary
#3971B5 #B53F39 #AFB539
monochromatic
#1C3758 #2A5486 #3971B5 #5F90CD #8DB0DB

Accessibility & contrast

On white

5.00
#3971B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3971B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3971B5#FFFFFF#000000##FFFFFF
##3971B51.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5276B8
Deuteranopia (green-blind)
#406AB4
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3971b5;
/* rgb */ color: rgb(57, 113, 181);
/* oklch */ color: oklch(54.4% 0.122 254.6);
Tailwind
colors: {
  custom: {
    50: '#7d99cb',
    500: '#3971b5',
    950: '#000000',
  },
}
SCSS
$custom: #3971b5;
$custom-light: #7d99cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3971b5",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 181
  },
  "hsl": {
    "h": 212.903,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54379,
    "c": 0.12215,
    "h": 254.6
  },
  "luminance": 0.16016
}

Semantic roles & 50–950 ramp

primary
#3971B5
secondary
#C6A884
accent
#9B4CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3971B5

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

Preview Lab → · Contrast checker → · Palette generator →

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