#3987AF#3987AF

#3987AF is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.2% C 0.097 H 234.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#3987AF
RGBrgb(57, 135, 175)
HSLhsl(200, 51%, 45%)
HSVhsv(200, 67%, 69%)
CMYKcmyk(67.4%, 22.9%, 0%, 31.4%)
CIE-LABlab(53.27, -10.97, -28.11)
CIE-LCHlch(53.27, 30.17, 248.67°)
OKLaboklab(59.23% -0.0569 -0.0789)
OKLCHoklch(59.23% 0.097 234.2)
XYZxyz(18.0862, 21.2910, 43.7055)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987AF #AF6139
analogous
#39AF9C #3987AF #394CAF
triadic
#3987AF #AF3987 #87AF39
tetradic
#3987AF #9C39AF #AF6139 #4CAF39
square
#3987AF #9C39AF #AF6139 #4CAF39
split-complementary
#3987AF #AF394C #AF9C39
monochromatic
#1B4053 #2A6381 #3987AF #5BA4CA #8ABED9

Accessibility & contrast

On white

3.99
#3987AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#3987AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987AF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987AF#FFFFFF#000000##000000
##3987AF1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7486B1
Deuteranopia (green-blind)
#637AAE
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3987af;
/* rgb */ color: rgb(57, 135, 175);
/* oklch */ color: oklch(59.2% 0.097 234.2);
Tailwind
colors: {
  custom: {
    50: '#7daac7',
    500: '#3987af',
    950: '#000000',
  },
}
SCSS
$custom: #3987af;
$custom-light: #7daac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3987af",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 200.339,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5923,
    "c": 0.09726,
    "h": 234.2
  },
  "luminance": 0.21293
}

Semantic roles & 50–950 ramp

primary
#3987AF
secondary
#C39781
accent
#7D4DDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3987AF

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

Preview Lab → · Contrast checker → · Palette generator →

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