#3987BA#3987BA

#3987BA is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.8% C 0.109 H 240.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#3987BA
RGBrgb(57, 135, 186)
HSLhsl(204, 53%, 48%)
HSVhsv(204, 69%, 73%)
CMYKcmyk(69.4%, 27.4%, 0%, 27.1%)
CIE-LABlab(53.75, -7.22, -33.66)
CIE-LCHlch(53.75, 34.42, 257.89°)
OKLaboklab(59.77% -0.0531 -0.0949)
OKLCHoklch(59.77% 0.109 240.8)
XYZxyz(19.2108, 21.7409, 49.6288)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987BA #BA6C39
analogous
#39BAAC #3987BA #3947BA
triadic
#3987BA #BA3987 #87BA39
tetradic
#3987BA #AC39BA #BA6C39 #47BA39
square
#3987BA #AC39BA #BA6C39 #47BA39
split-complementary
#3987BA #BA3947 #BAAC39
monochromatic
#1C435C #2B658B #3987BA #61A4CF #90BFDD

Accessibility & contrast

On white

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

On black

5.35
#3987BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3987BA#FFFFFF#000000##000000
##3987BA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7087BC
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3987ba;
/* rgb */ color: rgb(57, 135, 186);
/* oklch */ color: oklch(59.8% 0.109 240.8);
Tailwind
colors: {
  custom: {
    50: '#7ea9cf',
    500: '#3987ba',
    950: '#000000',
  },
}
SCSS
$custom: #3987ba;
$custom-light: #7ea9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3987ba",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 186
  },
  "hsl": {
    "h": 203.721,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.59774,
    "c": 0.10876,
    "h": 240.8
  },
  "luminance": 0.21743
}

Semantic roles & 50–950 ramp

primary
#3987BA
secondary
#C8A187
accent
#854BDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3987BA

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

Preview Lab → · Contrast checker → · Palette generator →

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