#3987A5#3987A5

#3987A5 is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.088 H 226.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3987A5
RGBrgb(57, 135, 165)
HSLhsl(197, 49%, 44%)
HSVhsv(197, 65%, 65%)
CMYKcmyk(65.5%, 18.2%, 0%, 35.3%)
CIE-LABlab(52.85, -14.30, -22.99)
CIE-LCHlch(52.85, 27.07, 238.12°)
OKLaboklab(58.77% -0.0606 -0.0642)
OKLCHoklch(58.77% 0.088 226.7)
XYZxyz(17.1401, 20.9126, 38.7232)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987A5 #A55739
analogous
#39A58D #3987A5 #3951A5
triadic
#3987A5 #A53987 #87A539
tetradic
#3987A5 #8D39A5 #A55739 #51A539
square
#3987A5 #8D39A5 #A55739 #51A539
split-complementary
#3987A5 #A53951 #A58D39
monochromatic
#1A3D4A #296278 #3987A5 #56A6C5 #84BED4

Accessibility & contrast

On white

4.05
#3987A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#3987A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987A5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987A5#FFFFFF#000000##000000
##3987A51.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A7
Deuteranopia (green-blind)
#6879A5
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3987a5;
/* rgb */ color: rgb(57, 135, 165);
/* oklch */ color: oklch(58.8% 0.088 226.7);
Tailwind
colors: {
  custom: {
    50: '#7baabf',
    500: '#3987a5',
    950: '#000000',
  },
}
SCSS
$custom: #3987a5;
$custom-light: #7baabf;
$custom-dark: #000000;
JSON
{
  "hex": "#3987a5",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 165
  },
  "hsl": {
    "h": 196.667,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.58765,
    "c": 0.08829,
    "h": 226.7
  },
  "luminance": 0.20914
}

Semantic roles & 50–950 ramp

primary
#3987A5
secondary
#BE8E7B
accent
#7650D8
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #3987A5

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

Preview Lab → · Contrast checker → · Palette generator →

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