#3787C5#3787C5

#3787C5 is a mid, vivid cyan. Relative luminance 0.222; OKLCH L 60.3% C 0.122 H 245.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#3787C5
RGBrgb(55, 135, 197)
HSLhsl(206, 56%, 49%)
HSVhsv(206, 72%, 77%)
CMYKcmyk(72.1%, 31.5%, 0%, 22.7%)
CIE-LABlab(54.21, -3.67, -39.22)
CIE-LCHlch(54.21, 39.39, 264.65°)
OKLaboklab(60.29% -0.0509 -0.1111)
OKLCHoklch(60.29% 0.122 245.4)
XYZxyz(20.3137, 22.1691, 56.0210)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3787C5 #C57537
analogous
#37C5BC #3787C5 #3740C5
triadic
#3787C5 #C53787 #87C537
tetradic
#3787C5 #BC37C5 #C57537 #40C537
square
#3787C5 #BC37C5 #C57537 #40C537
split-complementary
#3787C5 #C53740 #C5BC37
monochromatic
#1C4565 #2A6695 #3787C5 #65A4D4 #95C0E1

Accessibility & contrast

On white

3.86
#3787C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3787C5#FFFFFF#000000##000000
##3787C51.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B89C8
Deuteranopia (green-blind)
#577CC4
Tritanopia (blue-blind)
#00969D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3787c5;
/* rgb */ color: rgb(55, 135, 197);
/* oklch */ color: oklch(60.3% 0.122 245.4);
Tailwind
colors: {
  custom: {
    50: '#7fa9d7',
    500: '#3787c5',
    950: '#000000',
  },
}
SCSS
$custom: #3787c5;
$custom-light: #7fa9d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3787c5",
  "rgb": {
    "r": 55,
    "g": 135,
    "b": 197
  },
  "hsl": {
    "h": 206.197,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.60286,
    "c": 0.12219,
    "h": 245.4
  },
  "luminance": 0.22171
}

Semantic roles & 50–950 ramp

primary
#3787C5
secondary
#CDA88B
accent
#8A48E0
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #3787C5

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

Preview Lab → · Contrast checker → · Palette generator →

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