#3791AC#3791AC

#3791AC is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.5% C 0.093 H 221.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3791AC
RGBrgb(55, 145, 172)
HSLhsl(194, 52%, 45%)
HSVhsv(194, 68%, 67%)
CMYKcmyk(68%, 15.7%, 0%, 32.5%)
CIE-LABlab(56.13, -17.80, -21.98)
CIE-LCHlch(56.13, 28.29, 231.00°)
OKLaboklab(61.46% -0.0697 -0.0613)
OKLCHoklch(61.46% 0.093 221.3)
XYZxyz(19.1443, 24.0395, 42.6529)
Luminance0.2404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3791AC #AC5237
analogous
#37AC8D #3791AC #3757AC
triadic
#3791AC #AC3791 #91AC37
tetradic
#3791AC #8D37AC #AC5237 #57AC37
square
#3791AC #8D37AC #AC5237 #57AC37
split-complementary
#3791AC #AC3757 #AC8D37
monochromatic
#19434F #286A7E #3791AC #57AFC9 #85C5D8

Accessibility & contrast

On white

3.62
#3791AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#3791AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3791AC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3791AC#FFFFFF#000000##000000
##3791AC1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#818DAD
Deuteranopia (green-blind)
#7181AC
Tritanopia (blue-blind)
#009A9A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #3791ac;
/* rgb */ color: rgb(55, 145, 172);
/* oklch */ color: oklch(61.5% 0.093 221.3);
Tailwind
colors: {
  custom: {
    50: '#7cb1c4',
    500: '#3791ac',
    950: '#000000',
  },
}
SCSS
$custom: #3791ac;
$custom-light: #7cb1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3791ac",
  "rgb": {
    "r": 55,
    "g": 145,
    "b": 172
  },
  "hsl": {
    "h": 193.846,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.09285,
    "h": 221.3
  },
  "luminance": 0.24042
}

Semantic roles & 50–950 ramp

primary
#3791AC
secondary
#C28D7D
accent
#6E4DDB
background
#F8FAFC
surface
#EFF5F8
border
#CACFD1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #3791AC

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

Preview Lab → · Contrast checker → · Palette generator →

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