#3987C7#3987C7

#3987C7 is a mid, vivid cyan. Relative luminance 0.223; OKLCH L 60.5% C 0.124 H 246.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#3987C7
RGBrgb(57, 135, 199)
HSLhsl(207, 56%, 50%)
HSVhsv(207, 71%, 78%)
CMYKcmyk(71.4%, 32.2%, 0%, 22%)
CIE-LABlab(54.36, -2.68, -40.10)
CIE-LCHlch(54.36, 40.19, 266.18°)
OKLaboklab(60.46% -0.0491 -0.1136)
OKLCHoklch(60.46% 0.124 246.6)
XYZxyz(20.6562, 22.3190, 57.2411)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987C7 #C77939
analogous
#39C7C0 #3987C7 #3940C7
triadic
#3987C7 #C73987 #87C739
tetradic
#3987C7 #C039C7 #C77939 #40C739
square
#3987C7 #C039C7 #C77939 #40C739
split-complementary
#3987C7 #C73940 #C7C039
monochromatic
#1D4668 #2B6798 #3987C7 #69A4D4 #98C1E2

Accessibility & contrast

On white

3.84
#3987C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#3987C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987C7
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987C7#FFFFFF#000000##000000
##3987C71.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A89CA
Deuteranopia (green-blind)
#567CC6
Tritanopia (blue-blind)
#00969E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3987c7;
/* rgb */ color: rgb(57, 135, 199);
/* oklch */ color: oklch(60.5% 0.124 246.6);
Tailwind
colors: {
  custom: {
    50: '#80a9d8',
    500: '#3987c7',
    950: '#000000',
  },
}
SCSS
$custom: #3987c7;
$custom-light: #80a9d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3987c7",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 199
  },
  "hsl": {
    "h": 207.042,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.6046,
    "c": 0.1238,
    "h": 246.6
  },
  "luminance": 0.22321
}

Semantic roles & 50–950 ramp

primary
#3987C7
secondary
#CEAB8E
accent
#8C49DF
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #3987C7

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

Preview Lab → · Contrast checker → · Palette generator →

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