#3987D5#3987D5

#3987D5 is a mid, vivid cyan. Relative luminance 0.230; OKLCH L 61.2% C 0.141 H 251.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#3987D5
RGBrgb(57, 135, 213)
HSLhsl(210, 65%, 53%)
HSVhsv(210, 73%, 84%)
CMYKcmyk(73.2%, 36.6%, 0%, 16.5%)
CIE-LABlab(55.07, 2.30, -46.89)
CIE-LCHlch(55.07, 46.95, 272.81°)
OKLaboklab(61.25% -0.0453 -0.1335)
OKLCHoklch(61.25% 0.141 251.3)
XYZxyz(22.3570, 22.9994, 66.1989)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987D5 #D58739
analogous
#39D5D5 #3987D5 #3939D5
triadic
#3987D5 #D53987 #87D539
tetradic
#3987D5 #D539D5 #D58739 #39D539
square
#3987D5 #D539D5 #D58739 #39D539
split-complementary
#3987D5 #D53939 #D5D539
monochromatic
#1A4A7A #2568AC #3987D5 #6BA6E0 #9EC4EA

Accessibility & contrast

On white

3.75
#3987D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#3987D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987D5
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987D5#FFFFFF#000000##000000
##3987D51.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#638CD8
Deuteranopia (green-blind)
#4C7DD3
Tritanopia (blue-blind)
#0099A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #3987d5;
/* rgb */ color: rgb(57, 135, 213);
/* oklch */ color: oklch(61.2% 0.141 251.3);
Tailwind
colors: {
  custom: {
    50: '#83a9e2',
    500: '#3987d5',
    950: '#000000',
  },
}
SCSS
$custom: #3987d5;
$custom-light: #83a9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3987d5",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 210,
    "s": 65,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61247,
    "c": 0.14098,
    "h": 251.3
  },
  "luminance": 0.23002
}

Semantic roles & 50–950 ramp

primary
#3987D5
secondary
#D7B593
accent
#9440E8
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3987D5

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

Preview Lab → · Contrast checker → · Palette generator →

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