#3987AD#3987AD

#3987AD is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.1% C 0.095 H 232.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#3987AD
RGBrgb(57, 135, 173)
HSLhsl(200, 50%, 45%)
HSVhsv(200, 67%, 68%)
CMYKcmyk(67.1%, 22%, 0%, 32.2%)
CIE-LABlab(53.18, -11.65, -27.09)
CIE-LCHlch(53.18, 29.49, 246.74°)
OKLaboklab(59.14% -0.0576 -0.076)
OKLCHoklch(59.14% 0.095 232.8)
XYZxyz(17.8912, 21.2130, 42.6787)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987AD #AD5F39
analogous
#39AD99 #3987AD #394DAD
triadic
#3987AD #AD3987 #87AD39
tetradic
#3987AD #9939AD #AD5F39 #4DAD39
square
#3987AD #9939AD #AD5F39 #4DAD39
split-complementary
#3987AD #AD394D #AD9939
monochromatic
#1B3F51 #2A637F #3987AD #5AA5C9 #88BED8

Accessibility & contrast

On white

4.01
#3987AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#3987AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987AD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987AD#FFFFFF#000000##000000
##3987AD1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7486AF
Deuteranopia (green-blind)
#647AAC
Tritanopia (blue-blind)
#009194
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3987ad;
/* rgb */ color: rgb(57, 135, 173);
/* oklch */ color: oklch(59.1% 0.095 232.8);
Tailwind
colors: {
  custom: {
    50: '#7caac5',
    500: '#3987ad',
    950: '#000000',
  },
}
SCSS
$custom: #3987ad;
$custom-light: #7caac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3987ad",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 173
  },
  "hsl": {
    "h": 199.655,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.59135,
    "c": 0.09534,
    "h": 232.8
  },
  "luminance": 0.21215
}

Semantic roles & 50–950 ramp

primary
#3987AD
secondary
#C29580
accent
#7C4EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3987AD

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

Preview Lab → · Contrast checker → · Palette generator →

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