#3987AA#3987AA

#3987AA is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.0% C 0.093 H 230.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3987AA
RGBrgb(57, 135, 170)
HSLhsl(199, 50%, 45%)
HSVhsv(199, 66%, 67%)
CMYKcmyk(66.5%, 20.6%, 0%, 33.3%)
CIE-LABlab(53.06, -12.65, -25.56)
CIE-LCHlch(53.06, 28.51, 243.67°)
OKLaboklab(58.99% -0.0587 -0.0716)
OKLCHoklch(58.99% 0.093 230.6)
XYZxyz(17.6042, 21.0982, 41.1670)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987AA #AA5C39
analogous
#39AA95 #3987AA #394FAA
triadic
#3987AA #AA3987 #87AA39
tetradic
#3987AA #9539AA #AA5C39 #4FAA39
square
#3987AA #9539AA #AA5C39 #4FAA39
split-complementary
#3987AA #AA394F #AA9539
monochromatic
#1A3E4E #2A637C #3987AA #59A5C7 #87BED7

Accessibility & contrast

On white

4.02
#3987AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#3987AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3987AA#FFFFFF#000000##000000
##3987AA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AC
Deuteranopia (green-blind)
#667AAA
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3987aa;
/* rgb */ color: rgb(57, 135, 170);
/* oklch */ color: oklch(59.0% 0.093 230.6);
Tailwind
colors: {
  custom: {
    50: '#7caac3',
    500: '#3987aa',
    950: '#000000',
  },
}
SCSS
$custom: #3987aa;
$custom-light: #7caac3;
$custom-dark: #000000;
JSON
{
  "hex": "#3987aa",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 198.584,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.09256,
    "h": 230.6
  },
  "luminance": 0.211
}

Semantic roles & 50–950 ramp

primary
#3987AA
secondary
#C1937E
accent
#794ED9
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #3987AA

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

Preview Lab → · Contrast checker → · Palette generator →

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