#3987B8#3987B8

#3987B8 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.7% C 0.107 H 239.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#3987B8
RGBrgb(57, 135, 184)
HSLhsl(203, 53%, 47%)
HSVhsv(203, 69%, 72%)
CMYKcmyk(69%, 26.6%, 0%, 27.8%)
CIE-LABlab(53.66, -7.91, -32.65)
CIE-LCHlch(53.66, 33.60, 256.39°)
OKLaboklab(59.67% -0.0538 -0.092)
OKLCHoklch(59.67% 0.107 239.7)
XYZxyz(18.9997, 21.6564, 48.5169)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987B8 #B86A39
analogous
#39B8AA #3987B8 #3947B8
triadic
#3987B8 #B83987 #87B839
tetradic
#3987B8 #AA39B8 #B86A39 #47B839
square
#3987B8 #AA39B8 #B86A39 #47B839
split-complementary
#3987B8 #B83947 #B8AA39
monochromatic
#1C425B #2B6589 #3987B8 #60A4CE #8FBFDC

Accessibility & contrast

On white

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

On black

5.33
#3987B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987B8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987B8#FFFFFF#000000##000000
##3987B81.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7087BA
Deuteranopia (green-blind)
#5F7BB7
Tritanopia (blue-blind)
#009398
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3987b8;
/* rgb */ color: rgb(57, 135, 184);
/* oklch */ color: oklch(59.7% 0.107 239.7);
Tailwind
colors: {
  custom: {
    50: '#7ea9cd',
    500: '#3987b8',
    950: '#000000',
  },
}
SCSS
$custom: #3987b8;
$custom-light: #7ea9cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3987b8",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 184
  },
  "hsl": {
    "h": 203.15,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.59673,
    "c": 0.10657,
    "h": 239.7
  },
  "luminance": 0.21658
}

Semantic roles & 50–950 ramp

primary
#3987B8
secondary
#C79F86
accent
#834CDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3987B8

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

Preview Lab → · Contrast checker → · Palette generator →

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