#3987A1#3987A1

#3987A1 is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.6% C 0.085 H 223.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#3987A1
RGBrgb(57, 135, 161)
HSLhsl(195, 48%, 43%)
HSVhsv(195, 65%, 63%)
CMYKcmyk(64.6%, 16.1%, 0%, 36.9%)
CIE-LABlab(52.70, -15.60, -20.92)
CIE-LCHlch(52.70, 26.09, 233.28°)
OKLaboklab(58.59% -0.0622 -0.0583)
OKLCHoklch(58.59% 0.085 223.2)
XYZxyz(16.7818, 20.7693, 36.8358)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987A1 #A15339
analogous
#39A187 #3987A1 #3953A1
triadic
#3987A1 #A13987 #87A139
tetradic
#3987A1 #8739A1 #A15339 #53A139
square
#3987A1 #8739A1 #A15339 #53A139
split-complementary
#3987A1 #A13953 #A18739
monochromatic
#193B47 #296174 #3987A1 #55A7C3 #82BED3

Accessibility & contrast

On white

4.07
#3987A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#3987A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987A1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987A1#FFFFFF#000000##000000
##3987A11.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A2
Deuteranopia (green-blind)
#6979A1
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3987a1;
/* rgb */ color: rgb(57, 135, 161);
/* oklch */ color: oklch(58.6% 0.085 223.2);
Tailwind
colors: {
  custom: {
    50: '#7baabc',
    500: '#3987a1',
    950: '#000000',
  },
}
SCSS
$custom: #3987a1;
$custom-light: #7baabc;
$custom-dark: #000000;
JSON
{
  "hex": "#3987a1",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 161
  },
  "hsl": {
    "h": 195,
    "s": 47.706,
    "l": 42.745
  },
  "oklch": {
    "l": 0.58586,
    "c": 0.08524,
    "h": 223.2
  },
  "luminance": 0.20771
}

Semantic roles & 50–950 ramp

primary
#3987A1
secondary
#BC8A79
accent
#7250D7
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #3987A1

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

Preview Lab → · Contrast checker → · Palette generator →

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