#3987AC#3987AC

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

Color values

HEX#3987AC
RGBrgb(57, 135, 172)
HSLhsl(199, 50%, 45%)
HSVhsv(199, 67%, 67%)
CMYKcmyk(66.9%, 21.5%, 0%, 32.5%)
CIE-LABlab(53.14, -11.98, -26.58)
CIE-LCHlch(53.14, 29.15, 245.74°)
OKLaboklab(59.09% -0.058 -0.0745)
OKLCHoklch(59.09% 0.094 232.1)
XYZxyz(17.7948, 21.1745, 42.1710)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987AC #AC5E39
analogous
#39AC97 #3987AC #394EAC
triadic
#3987AC #AC3987 #87AC39
tetradic
#3987AC #9739AC #AC5E39 #4EAC39
square
#3987AC #9739AC #AC5E39 #4EAC39
split-complementary
#3987AC #AC394E #AC9739
monochromatic
#1B3F50 #2A637E #3987AC #5AA5C8 #88BED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3987AC#FFFFFF#000000##000000
##3987AC1.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)
#7585AE
Deuteranopia (green-blind)
#657AAB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3987ac;
/* rgb */ color: rgb(57, 135, 172);
/* oklch */ color: oklch(59.1% 0.094 232.1);
Tailwind
colors: {
  custom: {
    50: '#7caac5',
    500: '#3987ac',
    950: '#000000',
  },
}
SCSS
$custom: #3987ac;
$custom-light: #7caac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3987ac",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 199.304,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.59087,
    "c": 0.09439,
    "h": 232.1
  },
  "luminance": 0.21176
}

Semantic roles & 50–950 ramp

primary
#3987AC
secondary
#C2957F
accent
#7B4EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #3987AC

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

Preview Lab → · Contrast checker → · Palette generator →

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