#3987B3#3987B3

#3987B3 is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.4% C 0.101 H 236.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#3987B3
RGBrgb(57, 135, 179)
HSLhsl(202, 52%, 46%)
HSVhsv(202, 68%, 70%)
CMYKcmyk(68.2%, 24.6%, 0%, 29.8%)
CIE-LABlab(53.44, -9.62, -30.14)
CIE-LCHlch(53.44, 31.63, 252.30°)
OKLaboklab(59.42% -0.0555 -0.0847)
OKLCHoklch(59.42% 0.101 236.8)
XYZxyz(18.4848, 21.4505, 45.8053)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987B3 #B36539
analogous
#39B3A2 #3987B3 #394AB3
triadic
#3987B3 #B33987 #87B339
tetradic
#3987B3 #A239B3 #B36539 #4AB339
square
#3987B3 #A239B3 #B36539 #4AB339
split-complementary
#3987B3 #B3394A #B3A239
monochromatic
#1B4156 #2A6485 #3987B3 #5EA4CC #8CBEDA

Accessibility & contrast

On white

3.97
#3987B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#3987B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987B3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987B3#FFFFFF#000000##000000
##3987B31.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7286B5
Deuteranopia (green-blind)
#617AB2
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3987b3;
/* rgb */ color: rgb(57, 135, 179);
/* oklch */ color: oklch(59.4% 0.101 236.8);
Tailwind
colors: {
  custom: {
    50: '#7da9ca',
    500: '#3987b3',
    950: '#000000',
  },
}
SCSS
$custom: #3987b3;
$custom-light: #7da9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3987b3",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 179
  },
  "hsl": {
    "h": 201.639,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.59424,
    "c": 0.10128,
    "h": 236.8
  },
  "luminance": 0.21452
}

Semantic roles & 50–950 ramp

primary
#3987B3
secondary
#C59B83
accent
#804DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3987B3

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

Preview Lab → · Contrast checker → · Palette generator →

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