#3987A7#3987A7

#3987A7 is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.9% C 0.090 H 228.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#3987A7
RGBrgb(57, 135, 167)
HSLhsl(197, 49%, 44%)
HSVhsv(197, 66%, 65%)
CMYKcmyk(65.9%, 19.2%, 0%, 34.5%)
CIE-LABlab(52.93, -13.64, -24.02)
CIE-LCHlch(52.93, 27.62, 240.40°)
OKLaboklab(58.86% -0.0598 -0.0671)
OKLCHoklch(58.86% 0.09 228.3)
XYZxyz(17.3236, 20.9860, 39.6894)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987A7 #A75939
analogous
#39A790 #3987A7 #3950A7
triadic
#3987A7 #A73987 #87A739
tetradic
#3987A7 #9039A7 #A75939 #50A739
square
#3987A7 #9039A7 #A75939 #50A739
split-complementary
#3987A7 #A73950 #A79039
monochromatic
#1A3D4C #296279 #3987A7 #57A6C6 #85BED5

Accessibility & contrast

On white

4.04
#3987A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#3987A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987A7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987A7#FFFFFF#000000##000000
##3987A71.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7685A9
Deuteranopia (green-blind)
#6779A7
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3987a7;
/* rgb */ color: rgb(57, 135, 167);
/* oklch */ color: oklch(58.9% 0.090 228.3);
Tailwind
colors: {
  custom: {
    50: '#7caac1',
    500: '#3987a7',
    950: '#000000',
  },
}
SCSS
$custom: #3987a7;
$custom-light: #7caac1;
$custom-dark: #000000;
JSON
{
  "hex": "#3987a7",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 167
  },
  "hsl": {
    "h": 197.455,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.58855,
    "c": 0.08994,
    "h": 228.3
  },
  "luminance": 0.20988
}

Semantic roles & 50–950 ramp

primary
#3987A7
secondary
#BF907D
accent
#774FD9
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #3987A7

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

Preview Lab → · Contrast checker → · Palette generator →

#3987A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva