#3987B7#3987B7

#3987B7 is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.6% C 0.105 H 239.1°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#3987B7
RGBrgb(57, 135, 183)
HSLhsl(203, 53%, 47%)
HSVhsv(203, 69%, 72%)
CMYKcmyk(68.9%, 26.2%, 0%, 28.2%)
CIE-LABlab(53.62, -8.25, -32.15)
CIE-LCHlch(53.62, 33.19, 255.60°)
OKLaboklab(59.62% -0.0541 -0.0906)
OKLCHoklch(59.62% 0.106 239.1)
XYZxyz(18.8953, 21.6147, 47.9668)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987B7 #B76939
analogous
#39B7A8 #3987B7 #3948B7
triadic
#3987B7 #B73987 #87B739
tetradic
#3987B7 #A839B7 #B76939 #48B739
square
#3987B7 #A839B7 #B76939 #48B739
split-complementary
#3987B7 #B73948 #B7A839
monochromatic
#1C425A #2A6588 #3987B7 #60A4CD #8EBEDC

Accessibility & contrast

On white

3.94
#3987B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#3987B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987B7
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987B7#FFFFFF#000000##000000
##3987B71.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7187B9
Deuteranopia (green-blind)
#5F7BB6
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3987b7;
/* rgb */ color: rgb(57, 135, 183);
/* oklch */ color: oklch(59.6% 0.105 239.1);
Tailwind
colors: {
  custom: {
    50: '#7ea9cc',
    500: '#3987b7',
    950: '#000000',
  },
}
SCSS
$custom: #3987b7;
$custom-light: #7ea9cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3987b7",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 183
  },
  "hsl": {
    "h": 202.857,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.59623,
    "c": 0.1055,
    "h": 239.1
  },
  "luminance": 0.21617
}

Semantic roles & 50–950 ramp

primary
#3987B7
secondary
#C79E85
accent
#834CDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3987B7

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

Preview Lab → · Contrast checker → · Palette generator →

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