#3987C9#3987C9

#3987C9 is a mid, vivid cyan. Relative luminance 0.224; OKLCH L 60.6% C 0.126 H 247.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#3987C9
RGBrgb(57, 135, 201)
HSLhsl(208, 57%, 51%)
HSVhsv(208, 72%, 79%)
CMYKcmyk(71.6%, 32.8%, 0%, 21.2%)
CIE-LABlab(54.46, -1.97, -41.08)
CIE-LCHlch(54.46, 41.13, 267.25°)
OKLaboklab(60.57% -0.0485 -0.1165)
OKLCHoklch(60.57% 0.126 247.4)
XYZxyz(20.8899, 22.4125, 58.4721)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987C9 #C97B39
analogous
#39C9C3 #3987C9 #393FC9
triadic
#3987C9 #C93987 #87C939
tetradic
#3987C9 #C339C9 #C97B39 #3FC939
square
#3987C9 #C339C9 #C97B39 #3FC939
split-complementary
#3987C9 #C9393F #C9C339
monochromatic
#1D476B #2A679B #3987C9 #69A4D6 #99C1E3

Accessibility & contrast

On white

3.83
#3987C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#3987C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987C9
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987C9#FFFFFF#000000##000000
##3987C91.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACC
Deuteranopia (green-blind)
#557CC8
Tritanopia (blue-blind)
#00979F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3987c9;
/* rgb */ color: rgb(57, 135, 201);
/* oklch */ color: oklch(60.6% 0.126 247.4);
Tailwind
colors: {
  custom: {
    50: '#81a9da',
    500: '#3987c9',
    950: '#000000',
  },
}
SCSS
$custom: #3987c9;
$custom-light: #81a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#3987c9",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 201
  },
  "hsl": {
    "h": 207.5,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60569,
    "c": 0.1262,
    "h": 247.4
  },
  "luminance": 0.22415
}

Semantic roles & 50–950 ramp

primary
#3987C9
secondary
#CFAC8F
accent
#8E47E0
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3987C9

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

Preview Lab → · Contrast checker → · Palette generator →

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