#3987AB#3987AB

#3987AB is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.0% C 0.093 H 231.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#3987AB
RGBrgb(57, 135, 171)
HSLhsl(199, 50%, 45%)
HSVhsv(199, 67%, 67%)
CMYKcmyk(66.7%, 21.1%, 0%, 32.9%)
CIE-LABlab(53.10, -12.31, -26.07)
CIE-LCHlch(53.10, 28.83, 244.71°)
OKLaboklab(59.04% -0.0583 -0.073)
OKLCHoklch(59.04% 0.093 231.4)
XYZxyz(17.6991, 21.1362, 41.6671)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987AB #AB5D39
analogous
#39AB96 #3987AB #394EAB
triadic
#3987AB #AB3987 #87AB39
tetradic
#3987AB #9639AB #AB5D39 #4EAB39
square
#3987AB #9639AB #AB5D39 #4EAB39
split-complementary
#3987AB #AB394E #AB9639
monochromatic
#1A3F4F #2A637D #3987AB #59A5C8 #87BED7

Accessibility & contrast

On white

4.02
#3987AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#3987AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987AB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987AB#FFFFFF#000000##000000
##3987AB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AD
Deuteranopia (green-blind)
#657AAA
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3987ab;
/* rgb */ color: rgb(57, 135, 171);
/* oklch */ color: oklch(59.0% 0.093 231.4);
Tailwind
colors: {
  custom: {
    50: '#7caac4',
    500: '#3987ab',
    950: '#000000',
  },
}
SCSS
$custom: #3987ab;
$custom-light: #7caac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3987ab",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 171
  },
  "hsl": {
    "h": 198.947,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5904,
    "c": 0.09347,
    "h": 231.4
  },
  "luminance": 0.21138
}

Semantic roles & 50–950 ramp

primary
#3987AB
secondary
#C1947F
accent
#7A4EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #3987AB

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

Preview Lab → · Contrast checker → · Palette generator →

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