#3791AB#3791AB

#3791AB is a mid, moderate cyan. Relative luminance 0.240; OKLCH L 61.4% C 0.092 H 220.5°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3791AB
RGBrgb(55, 145, 171)
HSLhsl(193, 51%, 44%)
HSVhsv(193, 68%, 67%)
CMYKcmyk(67.8%, 15.2%, 0%, 32.9%)
CIE-LABlab(56.09, -18.13, -21.47)
CIE-LCHlch(56.09, 28.10, 229.83°)
OKLaboklab(61.41% -0.0701 -0.0599)
OKLCHoklch(61.41% 0.092 220.5)
XYZxyz(19.0486, 24.0012, 42.1490)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3791AB #AB5137
analogous
#37AB8B #3791AB #3757AB
triadic
#3791AB #AB3791 #91AB37
tetradic
#3791AB #8B37AB #AB5137 #57AB37
square
#3791AB #8B37AB #AB5137 #57AB37
split-complementary
#3791AB #AB3757 #AB8B37
monochromatic
#19424E #286A7D #3791AB #56AFC9 #85C5D8

Accessibility & contrast

On white

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

On black

5.80
#3791AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3791AB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3791AB#FFFFFF#000000##000000
##3791AB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#818DAC
Deuteranopia (green-blind)
#7181AB
Tritanopia (blue-blind)
#009999
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #3791ab;
/* rgb */ color: rgb(55, 145, 171);
/* oklch */ color: oklch(61.4% 0.092 220.5);
Tailwind
colors: {
  custom: {
    50: '#7cb1c4',
    500: '#3791ab',
    950: '#000000',
  },
}
SCSS
$custom: #3791ab;
$custom-light: #7cb1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3791ab",
  "rgb": {
    "r": 55,
    "g": 145,
    "b": 171
  },
  "hsl": {
    "h": 193.448,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.61414,
    "c": 0.09219,
    "h": 220.5
  },
  "luminance": 0.24003
}

Semantic roles & 50–950 ramp

primary
#3791AB
secondary
#C18C7C
accent
#6D4DDB
background
#F8FAFC
surface
#EFF5F8
border
#CACFD1
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #3791AB

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

Preview Lab → · Contrast checker → · Palette generator →

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