#3787C4#3787C4

#3787C4 is a mid, vivid cyan. Relative luminance 0.221; OKLCH L 60.2% C 0.121 H 245.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#3787C4
RGBrgb(55, 135, 196)
HSLhsl(206, 56%, 49%)
HSVhsv(206, 72%, 77%)
CMYKcmyk(71.9%, 31.1%, 0%, 23.1%)
CIE-LABlab(54.16, -4.02, -38.72)
CIE-LCHlch(54.16, 38.93, 264.07°)
OKLaboklab(60.23% -0.0512 -0.1096)
OKLCHoklch(60.23% 0.121 245)
XYZxyz(20.1995, 22.1234, 55.4195)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3787C4 #C47437
analogous
#37C4BA #3787C4 #3741C4
triadic
#3787C4 #C43787 #87C437
tetradic
#3787C4 #BA37C4 #C47437 #41C437
square
#3787C4 #BA37C4 #C47437 #41C437
split-complementary
#3787C4 #C43741 #C4BA37
monochromatic
#1C4564 #2A6694 #3787C4 #65A4D4 #94C0E1

Accessibility & contrast

On white

3.87
#3787C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#3787C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3787C4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3787C4#FFFFFF#000000##000000
##3787C41.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B89C7
Deuteranopia (green-blind)
#587BC3
Tritanopia (blue-blind)
#00969D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3787c4;
/* rgb */ color: rgb(55, 135, 196);
/* oklch */ color: oklch(60.2% 0.121 245.0);
Tailwind
colors: {
  custom: {
    50: '#7fa9d6',
    500: '#3787c4',
    950: '#000000',
  },
}
SCSS
$custom: #3787c4;
$custom-light: #7fa9d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3787c4",
  "rgb": {
    "r": 55,
    "g": 135,
    "b": 196
  },
  "hsl": {
    "h": 205.957,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.60232,
    "c": 0.12101,
    "h": 245
  },
  "luminance": 0.22126
}

Semantic roles & 50–950 ramp

primary
#3787C4
secondary
#CCA78B
accent
#8A48DF
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #3787C4

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

Preview Lab → · Contrast checker → · Palette generator →

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