#3987C4#3987C4

#3987C4 is a mid, vivid cyan. Relative luminance 0.222; OKLCH L 60.3% C 0.120 H 245.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#3987C4
RGBrgb(57, 135, 196)
HSLhsl(206, 55%, 50%)
HSVhsv(206, 71%, 77%)
CMYKcmyk(70.9%, 31.1%, 0%, 23.1%)
CIE-LABlab(54.22, -3.74, -38.62)
CIE-LCHlch(54.22, 38.80, 264.47°)
OKLaboklab(60.3% -0.05 -0.1093)
OKLCHoklch(60.3% 0.12 245.4)
XYZxyz(20.3113, 22.1811, 55.4248)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987C4 #C47639
analogous
#39C4BC #3987C4 #3941C4
triadic
#3987C4 #C43987 #87C439
tetradic
#3987C4 #BC39C4 #C47639 #41C439
square
#3987C4 #BC39C4 #C47639 #41C439
split-complementary
#3987C4 #C43941 #C4BC39
monochromatic
#1D4665 #2B6695 #3987C4 #67A4D3 #97C0E1

Accessibility & contrast

On white

3.86
#3987C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#3987C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987C4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987C4#FFFFFF#000000##000000
##3987C41.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B89C7
Deuteranopia (green-blind)
#587CC3
Tritanopia (blue-blind)
#00969D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3987c4;
/* rgb */ color: rgb(57, 135, 196);
/* oklch */ color: oklch(60.3% 0.120 245.4);
Tailwind
colors: {
  custom: {
    50: '#80a9d6',
    500: '#3987c4',
    950: '#000000',
  },
}
SCSS
$custom: #3987c4;
$custom-light: #80a9d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3987c4",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 196
  },
  "hsl": {
    "h": 206.331,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60298,
    "c": 0.12023,
    "h": 245.4
  },
  "luminance": 0.22183
}

Semantic roles & 50–950 ramp

primary
#3987C4
secondary
#CCA98D
accent
#8B4ADE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #3987C4

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

Preview Lab → · Contrast checker → · Palette generator →

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