#3987B4#3987B4

#3987B4 is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.5% C 0.102 H 237.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#3987B4
RGBrgb(57, 135, 180)
HSLhsl(202, 52%, 46%)
HSVhsv(202, 68%, 71%)
CMYKcmyk(68.3%, 25%, 0%, 29.4%)
CIE-LABlab(53.48, -9.28, -30.64)
CIE-LCHlch(53.48, 32.02, 253.15°)
OKLaboklab(59.47% -0.0551 -0.0862)
OKLCHoklch(59.47% 0.102 237.4)
XYZxyz(18.5863, 21.4911, 46.3398)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987B4 #B46639
analogous
#39B4A4 #3987B4 #394AB4
triadic
#3987B4 #B43987 #87B439
tetradic
#3987B4 #A439B4 #B46639 #4AB439
square
#3987B4 #A439B4 #B46639 #4AB439
split-complementary
#3987B4 #B4394A #B4A439
monochromatic
#1C4157 #2A6486 #3987B4 #5EA4CC #8DBEDB

Accessibility & contrast

On white

3.96
#3987B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#3987B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987B4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987B4#FFFFFF#000000##000000
##3987B41.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7287B6
Deuteranopia (green-blind)
#617AB3
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3987b4;
/* rgb */ color: rgb(57, 135, 180);
/* oklch */ color: oklch(59.5% 0.102 237.4);
Tailwind
colors: {
  custom: {
    50: '#7da9ca',
    500: '#3987b4',
    950: '#000000',
  },
}
SCSS
$custom: #3987b4;
$custom-light: #7da9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3987b4",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 180
  },
  "hsl": {
    "h": 201.951,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.59473,
    "c": 0.10232,
    "h": 237.4
  },
  "luminance": 0.21493
}

Semantic roles & 50–950 ramp

primary
#3987B4
secondary
#C59C83
accent
#814CDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3987B4

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

Preview Lab → · Contrast checker → · Palette generator →

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