#3987BC#3987BC

#3987BC is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.9% C 0.111 H 241.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#3987BC
RGBrgb(57, 135, 188)
HSLhsl(204, 53%, 48%)
HSVhsv(204, 70%, 74%)
CMYKcmyk(69.7%, 28.2%, 0%, 26.3%)
CIE-LABlab(53.84, -6.53, -34.66)
CIE-LCHlch(53.84, 35.27, 259.33°)
OKLaboklab(59.88% -0.0525 -0.0978)
OKLCHoklch(59.88% 0.111 241.8)
XYZxyz(19.4249, 21.8265, 50.7564)
Luminance0.2183 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987BC #BC6E39
analogous
#39BCAF #3987BC #3945BC
triadic
#3987BC #BC3987 #87BC39
tetradic
#3987BC #AF39BC #BC6E39 #45BC39
square
#3987BC #AF39BC #BC6E39 #45BC39
split-complementary
#3987BC #BC3945 #BCAF39
monochromatic
#1D445E #2B658D #3987BC #63A3D0 #92BFDE

Accessibility & contrast

On white

3.91
#3987BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#3987BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987BC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987BC#FFFFFF#000000##000000
##3987BC1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F88BE
Deuteranopia (green-blind)
#5D7BBB
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3987bc;
/* rgb */ color: rgb(57, 135, 188);
/* oklch */ color: oklch(59.9% 0.111 241.8);
Tailwind
colors: {
  custom: {
    50: '#7fa9d0',
    500: '#3987bc',
    950: '#000000',
  },
}
SCSS
$custom: #3987bc;
$custom-light: #7fa9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3987bc",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 204.275,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59877,
    "c": 0.111,
    "h": 241.8
  },
  "luminance": 0.21829
}

Semantic roles & 50–950 ramp

primary
#3987BC
secondary
#C9A288
accent
#864BDD
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3987BC

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

Preview Lab → · Contrast checker → · Palette generator →

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