#3987B9#3987B9

#3987B9 is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.7% C 0.108 H 240.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#3987B9
RGBrgb(57, 135, 185)
HSLhsl(203, 53%, 47%)
HSVhsv(203, 69%, 73%)
CMYKcmyk(69.2%, 27%, 0%, 27.5%)
CIE-LABlab(53.71, -7.56, -33.16)
CIE-LCHlch(53.71, 34.01, 257.15°)
OKLaboklab(59.72% -0.0534 -0.0935)
OKLCHoklch(59.72% 0.108 240.2)
XYZxyz(19.1049, 21.6985, 49.0709)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987B9 #B96B39
analogous
#39B9AB #3987B9 #3947B9
triadic
#3987B9 #B93987 #87B939
tetradic
#3987B9 #AB39B9 #B96B39 #47B939
square
#3987B9 #AB39B9 #B96B39 #47B939
split-complementary
#3987B9 #B93947 #B9AB39
monochromatic
#1C435B #2B658A #3987B9 #61A4CE #90BFDD

Accessibility & contrast

On white

3.93
#3987B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#3987B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3987B9#FFFFFF#000000##000000
##3987B91.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7087BB
Deuteranopia (green-blind)
#5E7BB8
Tritanopia (blue-blind)
#009398
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3987b9;
/* rgb */ color: rgb(57, 135, 185);
/* oklch */ color: oklch(59.7% 0.108 240.2);
Tailwind
colors: {
  custom: {
    50: '#7ea9ce',
    500: '#3987b9',
    950: '#000000',
  },
}
SCSS
$custom: #3987b9;
$custom-light: #7ea9ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3987b9",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 185
  },
  "hsl": {
    "h": 203.438,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.59723,
    "c": 0.10766,
    "h": 240.2
  },
  "luminance": 0.21701
}

Semantic roles & 50–950 ramp

primary
#3987B9
secondary
#C8A086
accent
#844BDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3987B9

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

Preview Lab → · Contrast checker → · Palette generator →

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