#3987B6#3987B6

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

Color values

HEX#3987B6
RGBrgb(57, 135, 182)
HSLhsl(203, 52%, 47%)
HSVhsv(203, 69%, 71%)
CMYKcmyk(68.7%, 25.8%, 0%, 28.6%)
CIE-LABlab(53.57, -8.60, -31.65)
CIE-LCHlch(53.57, 32.80, 254.81°)
OKLaboklab(59.57% -0.0544 -0.0891)
OKLCHoklch(59.57% 0.104 238.6)
XYZxyz(18.7915, 21.5732, 47.4206)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987B6 #B66839
analogous
#39B6A7 #3987B6 #3949B6
triadic
#3987B6 #B63987 #87B639
tetradic
#3987B6 #A739B6 #B66839 #49B639
square
#3987B6 #A739B6 #B66839 #49B639
split-complementary
#3987B6 #B63949 #B6A739
monochromatic
#1C4259 #2A6487 #3987B6 #5FA4CD #8EBEDC

Accessibility & contrast

On white

3.95
#3987B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3987B6#FFFFFF#000000##000000
##3987B61.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7187B8
Deuteranopia (green-blind)
#607BB5
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3987b6;
/* rgb */ color: rgb(57, 135, 182);
/* oklch */ color: oklch(59.6% 0.104 238.6);
Tailwind
colors: {
  custom: {
    50: '#7ea9cc',
    500: '#3987b6',
    950: '#000000',
  },
}
SCSS
$custom: #3987b6;
$custom-light: #7ea9cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3987b6",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 182
  },
  "hsl": {
    "h": 202.56,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.59573,
    "c": 0.10442,
    "h": 238.6
  },
  "luminance": 0.21575
}

Semantic roles & 50–950 ramp

primary
#3987B6
secondary
#C69D85
accent
#824CDC
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3987B6

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

Preview Lab → · Contrast checker → · Palette generator →

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