#3887BA#3887BA

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

Color values

HEX#3887BA
RGBrgb(56, 135, 186)
HSLhsl(204, 54%, 47%)
HSVhsv(204, 70%, 73%)
CMYKcmyk(69.9%, 27.4%, 0%, 27.1%)
CIE-LABlab(53.72, -7.37, -33.71)
CIE-LCHlch(53.72, 34.51, 257.66°)
OKLaboklab(59.74% -0.0537 -0.0951)
OKLCHoklch(59.74% 0.109 240.5)
XYZxyz(19.1544, 21.7118, 49.6262)
Luminance0.2171 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3887BA #BA6B38
analogous
#38BAAC #3887BA #3846BA
triadic
#3887BA #BA3887 #87BA38
tetradic
#3887BA #AC38BA #BA6B38 #46BA38
square
#3887BA #AC38BA #BA6B38 #46BA38
split-complementary
#3887BA #BA3846 #BAAC38
monochromatic
#1C435C #2A658B #3887BA #60A4CF #8FBFDD

Accessibility & contrast

On white

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

On black

5.34
#3887BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3887BA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3887BA#FFFFFF#000000##000000
##3887BA1.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)
#6F87BC
Deuteranopia (green-blind)
#5E7BB9
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3887ba;
/* rgb */ color: rgb(56, 135, 186);
/* oklch */ color: oklch(59.7% 0.109 240.5);
Tailwind
colors: {
  custom: {
    50: '#7ea9cf',
    500: '#3887ba',
    950: '#000000',
  },
}
SCSS
$custom: #3887ba;
$custom-light: #7ea9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3887ba",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 186
  },
  "hsl": {
    "h": 203.538,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.59741,
    "c": 0.1092,
    "h": 240.5
  },
  "luminance": 0.21714
}

Semantic roles & 50–950 ramp

primary
#3887BA
secondary
#C8A086
accent
#844BDD
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3887BA

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

Preview Lab → · Contrast checker → · Palette generator →

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