#3787AC#3787AC

#3787AC is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.0% C 0.095 H 231.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3787AC
RGBrgb(55, 135, 172)
HSLhsl(199, 52%, 45%)
HSVhsv(199, 68%, 67%)
CMYKcmyk(68%, 21.5%, 0%, 32.5%)
CIE-LABlab(53.08, -12.31, -26.68)
CIE-LCHlch(53.08, 29.38, 245.23°)
OKLaboklab(59.02% -0.0592 -0.0748)
OKLCHoklch(59.02% 0.095 231.6)
XYZxyz(17.6830, 21.1168, 42.1658)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3787AC #AC5C37
analogous
#37AC97 #3787AC #374DAC
triadic
#3787AC #AC3787 #87AC37
tetradic
#3787AC #9737AC #AC5C37 #4DAC37
square
#3787AC #9737AC #AC5C37 #4DAC37
split-complementary
#3787AC #AC374D #AC9737
monochromatic
#193E4F #28637E #3787AC #57A5C9 #85BED8

Accessibility & contrast

On white

4.02
#3787AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#3787AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3787AC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3787AC#FFFFFF#000000##000000
##3787AC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AE
Deuteranopia (green-blind)
#647AAB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3787ac;
/* rgb */ color: rgb(55, 135, 172);
/* oklch */ color: oklch(59.0% 0.095 231.6);
Tailwind
colors: {
  custom: {
    50: '#7baac5',
    500: '#3787ac',
    950: '#000000',
  },
}
SCSS
$custom: #3787ac;
$custom-light: #7baac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3787ac",
  "rgb": {
    "r": 55,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 198.974,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5902,
    "c": 0.09539,
    "h": 231.6
  },
  "luminance": 0.21119
}

Semantic roles & 50–950 ramp

primary
#3787AC
secondary
#C2937D
accent
#7A4DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #3787AC

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

Preview Lab → · Contrast checker → · Palette generator →

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