#3787BA#3787BA

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

Color values

HEX#3787BA
RGBrgb(55, 135, 186)
HSLhsl(203, 54%, 47%)
HSVhsv(203, 70%, 73%)
CMYKcmyk(70.4%, 27.4%, 0%, 27.1%)
CIE-LABlab(53.69, -7.52, -33.76)
CIE-LCHlch(53.69, 34.59, 257.44°)
OKLaboklab(59.71% -0.0543 -0.0952)
OKLCHoklch(59.71% 0.11 240.3)
XYZxyz(19.0990, 21.6832, 49.6236)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3787BA #BA6A37
analogous
#37BAAC #3787BA #3745BA
triadic
#3787BA #BA3787 #87BA37
tetradic
#3787BA #AC37BA #BA6A37 #45BA37
square
#3787BA #AC37BA #BA6A37 #45BA37
split-complementary
#3787BA #BA3745 #BAAC37
monochromatic
#1B425C #29658B #3787BA #5FA4D0 #8EBFDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3787BA#FFFFFF#000000##000000
##3787BA1.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)
#5D7BB9
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3787ba;
/* rgb */ color: rgb(55, 135, 186);
/* oklch */ color: oklch(59.7% 0.110 240.3);
Tailwind
colors: {
  custom: {
    50: '#7ea9cf',
    500: '#3787ba',
    950: '#000000',
  },
}
SCSS
$custom: #3787ba;
$custom-light: #7ea9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3787ba",
  "rgb": {
    "r": 55,
    "g": 135,
    "b": 186
  },
  "hsl": {
    "h": 203.359,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.10963,
    "h": 240.3
  },
  "luminance": 0.21685
}

Semantic roles & 50–950 ramp

primary
#3787BA
secondary
#C89F85
accent
#844ADE
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3787BA

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

Preview Lab → · Contrast checker → · Palette generator →

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