#3987C2#3987C2

#3987C2 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 60.2% C 0.118 H 244.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#3987C2
RGBrgb(57, 135, 194)
HSLhsl(206, 55%, 49%)
HSVhsv(206, 71%, 76%)
CMYKcmyk(70.6%, 30.4%, 0%, 23.9%)
CIE-LABlab(54.12, -4.44, -37.64)
CIE-LCHlch(54.12, 37.90, 263.28°)
OKLaboklab(60.19% -0.0506 -0.1065)
OKLCHoklch(60.19% 0.118 244.6)
XYZxyz(20.0852, 22.0906, 54.2339)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987C2 #C27439
analogous
#39C2B9 #3987C2 #3943C2
triadic
#3987C2 #C23987 #87C239
tetradic
#3987C2 #B939C2 #C27439 #43C239
square
#3987C2 #B939C2 #C27439 #43C239
split-complementary
#3987C2 #C23943 #C2B939
monochromatic
#1D4563 #2B6693 #3987C2 #66A4D2 #95C0E0

Accessibility & contrast

On white

3.88
#3987C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#3987C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987C2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987C2#FFFFFF#000000##000000
##3987C21.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C89C5
Deuteranopia (green-blind)
#597CC1
Tritanopia (blue-blind)
#00959C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3987c2;
/* rgb */ color: rgb(57, 135, 194);
/* oklch */ color: oklch(60.2% 0.118 244.6);
Tailwind
colors: {
  custom: {
    50: '#80a9d4',
    500: '#3987c2',
    950: '#000000',
  },
}
SCSS
$custom: #3987c2;
$custom-light: #80a9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3987c2",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 205.839,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60191,
    "c": 0.11788,
    "h": 244.6
  },
  "luminance": 0.22093
}

Semantic roles & 50–950 ramp

primary
#3987C2
secondary
#CBA78B
accent
#8A4ADE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #3987C2

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

Preview Lab → · Contrast checker → · Palette generator →

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