#3786AC#3786AC

#3786AC is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.8% C 0.096 H 232.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#3786AC
RGBrgb(55, 134, 172)
HSLhsl(199, 52%, 45%)
HSVhsv(199, 68%, 67%)
CMYKcmyk(68%, 22.1%, 0%, 32.5%)
CIE-LABlab(52.77, -11.75, -27.15)
CIE-LCHlch(52.77, 29.58, 246.60°)
OKLaboklab(58.78% -0.0581 -0.0762)
OKLCHoklch(58.78% 0.096 232.6)
XYZxyz(17.5441, 20.8391, 42.1195)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3786AC #AC5D37
analogous
#37AC98 #3786AC #374CAC
triadic
#3786AC #AC3786 #86AC37
tetradic
#3786AC #9837AC #AC5D37 #4CAC37
square
#3786AC #9837AC #AC5D37 #4CAC37
split-complementary
#3786AC #AC374C #AC9837
monochromatic
#193E4F #28627E #3786AC #57A4C9 #85BDD8

Accessibility & contrast

On white

4.06
#3786AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#3786AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3786AC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3786AC#FFFFFF#000000##000000
##3786AC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7385AE
Deuteranopia (green-blind)
#6379AB
Tritanopia (blue-blind)
#009093
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3786ac;
/* rgb */ color: rgb(55, 134, 172);
/* oklch */ color: oklch(58.8% 0.096 232.6);
Tailwind
colors: {
  custom: {
    50: '#7ba9c5',
    500: '#3786ac',
    950: '#000000',
  },
}
SCSS
$custom: #3786ac;
$custom-light: #7ba9c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3786ac",
  "rgb": {
    "r": 55,
    "g": 134,
    "b": 172
  },
  "hsl": {
    "h": 199.487,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.58777,
    "c": 0.09582,
    "h": 232.6
  },
  "luminance": 0.20841
}

Semantic roles & 50–950 ramp

primary
#3786AC
secondary
#C2937D
accent
#7B4DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3786AC

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

Preview Lab → · Contrast checker → · Palette generator →

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