#3971A2#3971A2

#3971A2 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.3% C 0.097 H 247.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3971A2
RGBrgb(57, 113, 162)
HSLhsl(208, 48%, 43%)
HSVhsv(208, 65%, 64%)
CMYKcmyk(64.8%, 30.2%, 0%, 36.5%)
CIE-LABlab(46.03, -2.59, -31.84)
CIE-LCHlch(46.03, 31.95, 265.35°)
OKLaboklab(53.3% -0.0377 -0.0899)
OKLCHoklch(53.3% 0.097 247.2)
XYZxyz(14.1116, 15.2874, 36.3825)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971A2 #A26A39
analogous
#39A29E #3971A2 #393CA2
triadic
#3971A2 #A23971 #71A239
tetradic
#3971A2 #9E39A2 #A26A39 #3CA239
square
#3971A2 #9E39A2 #A26A39 #3CA239
split-complementary
#3971A2 #A2393C #A29E39
monochromatic
#193247 #295175 #3971A2 #5590C3 #82ADD3

Accessibility & contrast

On white

5.18
#3971A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#3971A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3971A2#FFFFFF#000000##FFFFFF
##3971A21.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A4
Deuteranopia (green-blind)
#4D68A1
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3971a2;
/* rgb */ color: rgb(57, 113, 162);
/* oklch */ color: oklch(53.3% 0.097 247.2);
Tailwind
colors: {
  custom: {
    50: '#7a99bd',
    500: '#3971a2',
    950: '#000000',
  },
}
SCSS
$custom: #3971a2;
$custom-light: #7a99bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3971a2",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 208,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53303,
    "c": 0.09745,
    "h": 247.2
  },
  "luminance": 0.15289
}

Semantic roles & 50–950 ramp

primary
#3971A2
secondary
#BD997A
accent
#8F50D8
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3971A2

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

Preview Lab → · Contrast checker → · Palette generator →

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