#3787B2#3787B2

#3787B2 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.3% C 0.101 H 235.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#3787B2
RGBrgb(55, 135, 178)
HSLhsl(201, 53%, 46%)
HSVhsv(201, 69%, 70%)
CMYKcmyk(69.1%, 24.2%, 0%, 30.2%)
CIE-LABlab(53.33, -10.28, -29.73)
CIE-LCHlch(53.33, 31.46, 250.93°)
OKLaboklab(59.31% -0.057 -0.0836)
OKLCHoklch(59.31% 0.101 235.7)
XYZxyz(18.2723, 21.3525, 45.2693)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3787B2 #B26237
analogous
#37B2A0 #3787B2 #3749B2
triadic
#3787B2 #B23787 #87B237
tetradic
#3787B2 #A037B2 #B26237 #49B237
square
#3787B2 #A037B2 #B26237 #49B237
split-complementary
#3787B2 #B23749 #B2A037
monochromatic
#1A4054 #296483 #3787B2 #5AA4CC #89BEDB

Accessibility & contrast

On white

3.98
#3787B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#3787B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3787B2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3787B2#FFFFFF#000000##000000
##3787B21.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7286B4
Deuteranopia (green-blind)
#627AB1
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3787b2;
/* rgb */ color: rgb(55, 135, 178);
/* oklch */ color: oklch(59.3% 0.101 235.7);
Tailwind
colors: {
  custom: {
    50: '#7ca9c9',
    500: '#3787b2',
    950: '#000000',
  },
}
SCSS
$custom: #3787b2;
$custom-light: #7ca9c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3787b2",
  "rgb": {
    "r": 55,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 200.976,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.59308,
    "c": 0.1012,
    "h": 235.7
  },
  "luminance": 0.21355
}

Semantic roles & 50–950 ramp

primary
#3787B2
secondary
#C59880
accent
#7E4CDC
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3787B2

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

Preview Lab → · Contrast checker → · Palette generator →

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