#3987A2#3987A2

#3987A2 is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.6% C 0.086 H 224.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3987A2
RGBrgb(57, 135, 162)
HSLhsl(195, 48%, 43%)
HSVhsv(195, 65%, 64%)
CMYKcmyk(64.8%, 16.7%, 0%, 36.5%)
CIE-LABlab(52.74, -15.28, -21.44)
CIE-LCHlch(52.74, 26.32, 234.52°)
OKLaboklab(58.63% -0.0618 -0.0598)
OKLCHoklch(58.63% 0.086 224.1)
XYZxyz(16.8703, 20.8047, 37.3020)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987A2 #A25439
analogous
#39A289 #3987A2 #3952A2
triadic
#3987A2 #A23987 #87A239
tetradic
#3987A2 #8939A2 #A25439 #52A239
square
#3987A2 #8939A2 #A25439 #52A239
split-complementary
#3987A2 #A23952 #A28939
monochromatic
#193C47 #296175 #3987A2 #55A7C3 #82BED3

Accessibility & contrast

On white

4.07
#3987A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#3987A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3987A2#FFFFFF#000000##000000
##3987A21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7884A3
Deuteranopia (green-blind)
#6979A2
Tritanopia (blue-blind)
#008F90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3987a2;
/* rgb */ color: rgb(57, 135, 162);
/* oklch */ color: oklch(58.6% 0.086 224.1);
Tailwind
colors: {
  custom: {
    50: '#7baabd',
    500: '#3987a2',
    950: '#000000',
  },
}
SCSS
$custom: #3987a2;
$custom-light: #7baabd;
$custom-dark: #000000;
JSON
{
  "hex": "#3987a2",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 195.429,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5863,
    "c": 0.08597,
    "h": 224.1
  },
  "luminance": 0.20806
}

Semantic roles & 50–950 ramp

primary
#3987A2
secondary
#BD8B7A
accent
#7350D8
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #3987A2

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

Preview Lab → · Contrast checker → · Palette generator →

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