#3987C5#3987C5

#3987C5 is a mid, vivid cyan. Relative luminance 0.222; OKLCH L 60.4% C 0.121 H 245.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#3987C5
RGBrgb(57, 135, 197)
HSLhsl(207, 55%, 50%)
HSVhsv(207, 71%, 77%)
CMYKcmyk(71.1%, 31.5%, 0%, 22.7%)
CIE-LABlab(54.27, -3.38, -39.12)
CIE-LCHlch(54.27, 39.26, 265.05°)
OKLaboklab(60.35% -0.0497 -0.1108)
OKLCHoklch(60.35% 0.121 245.8)
XYZxyz(20.4255, 22.2268, 56.0262)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987C5 #C57739
analogous
#39C5BD #3987C5 #3941C5
triadic
#3987C5 #C53987 #87C539
tetradic
#3987C5 #BD39C5 #C57739 #41C539
square
#3987C5 #BD39C5 #C57739 #41C539
split-complementary
#3987C5 #C53941 #C5BD39
monochromatic
#1E4666 #2B6696 #3987C5 #68A4D3 #97C0E1

Accessibility & contrast

On white

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

On black

5.45
#3987C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987C5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987C5#FFFFFF#000000##000000
##3987C51.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B89C8
Deuteranopia (green-blind)
#577CC4
Tritanopia (blue-blind)
#00969D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3987c5;
/* rgb */ color: rgb(57, 135, 197);
/* oklch */ color: oklch(60.4% 0.121 245.8);
Tailwind
colors: {
  custom: {
    50: '#80a9d7',
    500: '#3987c5',
    950: '#000000',
  },
}
SCSS
$custom: #3987c5;
$custom-light: #80a9d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3987c5",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 197
  },
  "hsl": {
    "h": 206.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60351,
    "c": 0.12141,
    "h": 245.8
  },
  "luminance": 0.22229
}

Semantic roles & 50–950 ramp

primary
#3987C5
secondary
#CDA98D
accent
#8B49DE
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #3987C5

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

Preview Lab → · Contrast checker → · Palette generator →

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