#3987D9#3987D9

#3987D9 is a mid, vivid cyan. Relative luminance 0.232; OKLCH L 61.5% C 0.146 H 252.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#3987D9
RGBrgb(57, 135, 217)
HSLhsl(211, 68%, 54%)
HSVhsv(211, 74%, 85%)
CMYKcmyk(73.7%, 37.8%, 0%, 14.9%)
CIE-LABlab(55.28, 3.74, -48.81)
CIE-LCHlch(55.28, 48.95, 274.38°)
OKLaboklab(61.48% -0.0443 -0.1391)
OKLCHoklch(61.48% 0.146 252.3)
XYZxyz(22.8710, 23.2050, 68.9058)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987D9 #D98B39
analogous
#39D7D9 #3987D9 #3B39D9
triadic
#3987D9 #D93987 #87D939
tetradic
#3987D9 #D939D7 #D98B39 #39D93B
square
#3987D9 #D939D7 #D98B39 #39D93B
split-complementary
#3987D9 #D93B39 #D7D939
monochromatic
#184B7F #2269B3 #3987D9 #6CA6E3 #A0C5ED

Accessibility & contrast

On white

3.72
#3987D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#3987D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987D9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987D9#FFFFFF#000000##000000
##3987D91.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#618CDC
Deuteranopia (green-blind)
#487ED7
Tritanopia (blue-blind)
#009AA5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #3987d9;
/* rgb */ color: rgb(57, 135, 217);
/* oklch */ color: oklch(61.5% 0.146 252.3);
Tailwind
colors: {
  custom: {
    50: '#84a9e5',
    500: '#3987d9',
    950: '#000000',
  },
}
SCSS
$custom: #3987d9;
$custom-light: #84a9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3987d9",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 217
  },
  "hsl": {
    "h": 210.75,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61481,
    "c": 0.14599,
    "h": 252.3
  },
  "luminance": 0.23208
}

Semantic roles & 50–950 ramp

primary
#3987D9
secondary
#D9B895
accent
#963DEB
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0C0F16
muted
#7D7F84

Preview Lab

Preview with #3987D9

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

Preview Lab → · Contrast checker → · Palette generator →

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