#3787AA#3787AA

#3787AA is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.9% C 0.094 H 230.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#3787AA
RGBrgb(55, 135, 170)
HSLhsl(198, 51%, 44%)
HSVhsv(198, 68%, 67%)
CMYKcmyk(67.6%, 20.6%, 0%, 33.3%)
CIE-LABlab(52.99, -12.98, -25.66)
CIE-LCHlch(52.99, 28.76, 243.16°)
OKLaboklab(58.93% -0.0599 -0.0719)
OKLCHoklch(58.93% 0.094 230.2)
XYZxyz(17.4923, 21.0406, 41.1618)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3787AA #AA5A37
analogous
#37AA94 #3787AA #374EAA
triadic
#3787AA #AA3787 #87AA37
tetradic
#3787AA #9437AA #AA5A37 #4EAA37
square
#3787AA #9437AA #AA5A37 #4EAA37
split-complementary
#3787AA #AA374E #AA9437
monochromatic
#193E4E #28627C #3787AA #56A5C8 #84BED7

Accessibility & contrast

On white

4.03
#3787AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#3787AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3787AA#FFFFFF#000000##000000
##3787AA1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AC
Deuteranopia (green-blind)
#6579AA
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3787aa;
/* rgb */ color: rgb(55, 135, 170);
/* oklch */ color: oklch(58.9% 0.094 230.2);
Tailwind
colors: {
  custom: {
    50: '#7baac3',
    500: '#3787aa',
    950: '#000000',
  },
}
SCSS
$custom: #3787aa;
$custom-light: #7baac3;
$custom-dark: #000000;
JSON
{
  "hex": "#3787aa",
  "rgb": {
    "r": 55,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 198.261,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58926,
    "c": 0.09358,
    "h": 230.2
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#3787AA
secondary
#C1917C
accent
#784DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #3787AA

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

Preview Lab → · Contrast checker → · Palette generator →

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