#3987B2#3987B2

#3987B2 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.4% C 0.100 H 236.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#3987B2
RGBrgb(57, 135, 178)
HSLhsl(201, 51%, 46%)
HSVhsv(201, 68%, 70%)
CMYKcmyk(68%, 24.2%, 0%, 30.2%)
CIE-LABlab(53.40, -9.96, -29.63)
CIE-LCHlch(53.40, 31.26, 251.42°)
OKLaboklab(59.38% -0.0558 -0.0833)
OKLCHoklch(59.38% 0.1 236.2)
XYZxyz(18.3841, 21.4102, 45.2746)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987B2 #B26439
analogous
#39B2A0 #3987B2 #394BB2
triadic
#3987B2 #B23987 #87B239
tetradic
#3987B2 #A039B2 #B26439 #4BB239
square
#3987B2 #A039B2 #B26439 #4BB239
split-complementary
#3987B2 #B2394B #B2A039
monochromatic
#1B4155 #2A6484 #3987B2 #5DA4CB #8BBEDA

Accessibility & contrast

On white

3.98
#3987B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#3987B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987B2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987B2#FFFFFF#000000##000000
##3987B21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7386B4
Deuteranopia (green-blind)
#627AB1
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3987b2;
/* rgb */ color: rgb(57, 135, 178);
/* oklch */ color: oklch(59.4% 0.100 236.2);
Tailwind
colors: {
  custom: {
    50: '#7da9c9',
    500: '#3987b2',
    950: '#000000',
  },
}
SCSS
$custom: #3987b2;
$custom-light: #7da9c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3987b2",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 201.322,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.59375,
    "c": 0.10025,
    "h": 236.2
  },
  "luminance": 0.21412
}

Semantic roles & 50–950 ramp

primary
#3987B2
secondary
#C49A82
accent
#7F4DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3987B2

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

Preview Lab → · Contrast checker → · Palette generator →

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