#3787BB#3787BB

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

Color values

HEX#3787BB
RGBrgb(55, 135, 187)
HSLhsl(204, 55%, 47%)
HSVhsv(204, 71%, 73%)
CMYKcmyk(70.6%, 27.8%, 0%, 26.7%)
CIE-LABlab(53.73, -7.18, -34.26)
CIE-LCHlch(53.73, 35.00, 258.17°)
OKLaboklab(59.76% -0.054 -0.0967)
OKLCHoklch(59.76% 0.111 240.8)
XYZxyz(19.2057, 21.7259, 50.1854)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3787BB #BB6B37
analogous
#37BBAD #3787BB #3745BB
triadic
#3787BB #BB3787 #87BB37
tetradic
#3787BB #AD37BB #BB6B37 #45BB37
square
#3787BB #AD37BB #BB6B37 #45BB37
split-complementary
#3787BB #BB3745 #BBAD37
monochromatic
#1B435C #29658C #3787BB #5FA4D0 #8EBFDE

Accessibility & contrast

On white

3.93
#3787BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#3787BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3787BB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3787BB#FFFFFF#000000##000000
##3787BB1.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)
#6F87BD
Deuteranopia (green-blind)
#5D7BBA
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3787bb;
/* rgb */ color: rgb(55, 135, 187);
/* oklch */ color: oklch(59.8% 0.111 240.8);
Tailwind
colors: {
  custom: {
    50: '#7ea9cf',
    500: '#3787bb',
    950: '#000000',
  },
}
SCSS
$custom: #3787bb;
$custom-light: #7ea9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3787bb",
  "rgb": {
    "r": 55,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 203.636,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.59759,
    "c": 0.11074,
    "h": 240.8
  },
  "luminance": 0.21728
}

Semantic roles & 50–950 ramp

primary
#3787BB
secondary
#C9A085
accent
#844ADE
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3787BB

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

Preview Lab → · Contrast checker → · Palette generator →

#3787BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva