#3971A1#3971A1

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

Color values

HEX#3971A1
RGBrgb(57, 113, 161)
HSLhsl(208, 48%, 43%)
HSVhsv(208, 65%, 63%)
CMYKcmyk(64.6%, 29.8%, 0%, 36.9%)
CIE-LABlab(45.98, -2.94, -31.33)
CIE-LCHlch(45.98, 31.47, 264.64°)
OKLaboklab(53.25% -0.038 -0.0884)
OKLCHoklch(53.25% 0.096 246.7)
XYZxyz(14.0231, 15.2519, 35.9162)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3971A1 #A16939
analogous
#39A19D #3971A1 #393DA1
triadic
#3971A1 #A13971 #71A139
tetradic
#3971A1 #9D39A1 #A16939 #3DA139
square
#3971A1 #9D39A1 #A16939 #3DA139
split-complementary
#3971A1 #A1393D #A19D39
monochromatic
#193247 #295174 #3971A1 #5590C3 #82ADD3

Accessibility & contrast

On white

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

On black

4.05
#3971A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3971A1#FFFFFF#000000##FFFFFF
##3971A11.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A3
Deuteranopia (green-blind)
#4E68A0
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3971a1;
/* rgb */ color: rgb(57, 113, 161);
/* oklch */ color: oklch(53.2% 0.096 246.7);
Tailwind
colors: {
  custom: {
    50: '#7a99bd',
    500: '#3971a1',
    950: '#000000',
  },
}
SCSS
$custom: #3971a1;
$custom-light: #7a99bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3971a1",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 161
  },
  "hsl": {
    "h": 207.692,
    "s": 47.706,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.0962,
    "h": 246.7
  },
  "luminance": 0.15253
}

Semantic roles & 50–950 ramp

primary
#3971A1
secondary
#BC9879
accent
#8F50D7
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #3971A1

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

Preview Lab → · Contrast checker → · Palette generator →

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