#3987A4#3987A4

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

Color values

HEX#3987A4
RGBrgb(57, 135, 164)
HSLhsl(196, 48%, 43%)
HSVhsv(196, 65%, 64%)
CMYKcmyk(65.2%, 17.7%, 0%, 35.7%)
CIE-LABlab(52.81, -14.63, -22.47)
CIE-LCHlch(52.81, 26.81, 236.94°)
OKLaboklab(58.72% -0.061 -0.0627)
OKLCHoklch(58.72% 0.088 225.8)
XYZxyz(17.0495, 20.8764, 38.2458)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987A4 #A45639
analogous
#39A48B #3987A4 #3951A4
triadic
#3987A4 #A43987 #87A439
tetradic
#3987A4 #8B39A4 #A45639 #51A439
square
#3987A4 #8B39A4 #A45639 #51A439
split-complementary
#3987A4 #A43951 #A48B39
monochromatic
#193C49 #296277 #3987A4 #56A6C4 #83BED4

Accessibility & contrast

On white

4.06
#3987A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3987A4#FFFFFF#000000##000000
##3987A41.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3987a4;
/* rgb */ color: rgb(57, 135, 164);
/* oklch */ color: oklch(58.7% 0.087 225.8);
Tailwind
colors: {
  custom: {
    50: '#7baabf',
    500: '#3987a4',
    950: '#000000',
  },
}
SCSS
$custom: #3987a4;
$custom-light: #7baabf;
$custom-dark: #000000;
JSON
{
  "hex": "#3987a4",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 164
  },
  "hsl": {
    "h": 196.262,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5872,
    "c": 0.0875,
    "h": 225.8
  },
  "luminance": 0.20878
}

Semantic roles & 50–950 ramp

primary
#3987A4
secondary
#BE8D7B
accent
#7550D8
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #3987A4

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

Preview Lab → · Contrast checker → · Palette generator →

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