#3987CC#3987CC

#3987CC is a mid, vivid cyan. Relative luminance 0.226; OKLCH L 60.7% C 0.130 H 248.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#3987CC
RGBrgb(57, 135, 204)
HSLhsl(208, 59%, 51%)
HSVhsv(208, 72%, 80%)
CMYKcmyk(72.1%, 33.8%, 0%, 20%)
CIE-LABlab(54.61, -0.91, -42.54)
CIE-LCHlch(54.61, 42.55, 268.77°)
OKLaboklab(60.73% -0.0477 -0.1208)
OKLCHoklch(60.73% 0.13 248.5)
XYZxyz(21.2463, 22.5551, 60.3489)
Luminance0.2256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987CC #CC7E39
analogous
#39CCC7 #3987CC #393DCC
triadic
#3987CC #CC3987 #87CC39
tetradic
#3987CC #C739CC #CC7E39 #3DCC39
square
#3987CC #C739CC #CC7E39 #3DCC39
split-complementary
#3987CC #CC393D #CCC739
monochromatic
#1C486E #29689F #3987CC #6AA4D9 #9AC2E5

Accessibility & contrast

On white

3.81
#3987CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#3987CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987CC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987CC#FFFFFF#000000##000000
##3987CC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACF
Deuteranopia (green-blind)
#537CCB
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #3987cc;
/* rgb */ color: rgb(57, 135, 204);
/* oklch */ color: oklch(60.7% 0.130 248.5);
Tailwind
colors: {
  custom: {
    50: '#81a9dc',
    500: '#3987cc',
    950: '#000000',
  },
}
SCSS
$custom: #3987cc;
$custom-light: #81a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3987cc",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 208.163,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60735,
    "c": 0.12984,
    "h": 248.5
  },
  "luminance": 0.22557
}

Semantic roles & 50–950 ramp

primary
#3987CC
secondary
#D1AE90
accent
#8F46E2
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3987CC

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

Preview Lab → · Contrast checker → · Palette generator →

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