#3987BD#3987BD

#3987BD is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.9% C 0.112 H 242.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#3987BD
RGBrgb(57, 135, 189)
HSLhsl(205, 54%, 48%)
HSVhsv(205, 70%, 74%)
CMYKcmyk(69.8%, 28.6%, 0%, 25.9%)
CIE-LABlab(53.89, -6.18, -35.15)
CIE-LCHlch(53.89, 35.69, 260.03°)
OKLaboklab(59.93% -0.0521 -0.0993)
OKLCHoklch(59.93% 0.112 242.3)
XYZxyz(19.5331, 21.8698, 51.3261)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987BD #BD6F39
analogous
#39BDB1 #3987BD #3945BD
triadic
#3987BD #BD3987 #87BD39
tetradic
#3987BD #B139BD #BD6F39 #45BD39
square
#3987BD #B139BD #BD6F39 #45BD39
split-complementary
#3987BD #BD3945 #BDB139
monochromatic
#1D445F #2B658E #3987BD #63A3D0 #92BFDE

Accessibility & contrast

On white

3.91
#3987BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#3987BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987BD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987BD#FFFFFF#000000##000000
##3987BD1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E88BF
Deuteranopia (green-blind)
#5C7BBC
Tritanopia (blue-blind)
#00949A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3987bd;
/* rgb */ color: rgb(57, 135, 189);
/* oklch */ color: oklch(59.9% 0.112 242.3);
Tailwind
colors: {
  custom: {
    50: '#7fa9d1',
    500: '#3987bd',
    950: '#000000',
  },
}
SCSS
$custom: #3987bd;
$custom-light: #7fa9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3987bd",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 204.545,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59928,
    "c": 0.11213,
    "h": 242.3
  },
  "luminance": 0.21872
}

Semantic roles & 50–950 ramp

primary
#3987BD
secondary
#C9A389
accent
#874BDD
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3987BD

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

Preview Lab → · Contrast checker → · Palette generator →

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