#3791B4#3791B4

#3791B4 is a mid, moderate cyan. Relative luminance 0.244; OKLCH L 61.8% C 0.099 H 227.6°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3791B4
RGBrgb(55, 145, 180)
HSLhsl(197, 53%, 46%)
HSVhsv(197, 69%, 71%)
CMYKcmyk(69.4%, 19.4%, 0%, 29.4%)
CIE-LABlab(56.44, -15.18, -26.06)
CIE-LCHlch(56.44, 30.15, 239.78°)
OKLaboklab(61.81% -0.0666 -0.073)
OKLCHoklch(61.81% 0.099 227.6)
XYZxyz(19.9359, 24.3561, 46.8217)
Luminance0.2436 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3791B4 #B45A37
analogous
#37B498 #3791B4 #3752B4
triadic
#3791B4 #B43791 #91B437
tetradic
#3791B4 #9837B4 #B45A37 #52B437
square
#3791B4 #9837B4 #B45A37 #52B437
split-complementary
#3791B4 #B43752 #B49837
monochromatic
#1A4556 #296B85 #3791B4 #5BADCD #8AC5DB

Accessibility & contrast

On white

3.58
#3791B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#3791B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3791B4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3791B4#FFFFFF#000000##000000
##3791B41.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8EB6
Deuteranopia (green-blind)
#6D82B4
Tritanopia (blue-blind)
#009B9C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #3791b4;
/* rgb */ color: rgb(55, 145, 180);
/* oklch */ color: oklch(61.8% 0.099 227.6);
Tailwind
colors: {
  custom: {
    50: '#7db1ca',
    500: '#3791b4',
    950: '#000000',
  },
}
SCSS
$custom: #3791b4;
$custom-light: #7db1ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3791b4",
  "rgb": {
    "r": 55,
    "g": 145,
    "b": 180
  },
  "hsl": {
    "h": 196.8,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61814,
    "c": 0.09881,
    "h": 227.6
  },
  "luminance": 0.24358
}

Semantic roles & 50–950 ramp

primary
#3791B4
secondary
#C69481
accent
#744BDD
background
#F8FAFC
surface
#EFF5F8
border
#CACFD1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3791B4

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

Preview Lab → · Contrast checker → · Palette generator →

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