#3791B7#3791B7

#3791B7 is a mid, moderate cyan. Relative luminance 0.245; OKLCH L 62.0% C 0.101 H 229.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#3791B7
RGBrgb(55, 145, 183)
HSLhsl(198, 54%, 47%)
HSVhsv(198, 70%, 72%)
CMYKcmyk(69.9%, 20.8%, 0%, 28.2%)
CIE-LABlab(56.56, -14.18, -27.58)
CIE-LCHlch(56.56, 31.01, 242.79°)
OKLaboklab(61.95% -0.0655 -0.0773)
OKLCHoklch(61.95% 0.101 229.7)
XYZxyz(20.2448, 24.4797, 48.4487)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3791B7 #B75D37
analogous
#37B79D #3791B7 #3751B7
triadic
#3791B7 #B73791 #91B737
tetradic
#3791B7 #9D37B7 #B75D37 #51B737
square
#3791B7 #9D37B7 #B75D37 #51B737
split-complementary
#3791B7 #B73751 #B79D37
monochromatic
#1B4659 #296C88 #3791B7 #5DADCE #8CC5DC

Accessibility & contrast

On white

3.56
#3791B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#3791B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3791B7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3791B7#FFFFFF#000000##000000
##3791B71.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8FB9
Deuteranopia (green-blind)
#6C82B6
Tritanopia (blue-blind)
#009C9E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #3791b7;
/* rgb */ color: rgb(55, 145, 183);
/* oklch */ color: oklch(62.0% 0.101 229.7);
Tailwind
colors: {
  custom: {
    50: '#7eb1cc',
    500: '#3791b7',
    950: '#000000',
  },
}
SCSS
$custom: #3791b7;
$custom-light: #7eb1cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3791b7",
  "rgb": {
    "r": 55,
    "g": 145,
    "b": 183
  },
  "hsl": {
    "h": 197.813,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.61952,
    "c": 0.10135,
    "h": 229.7
  },
  "luminance": 0.24482
}

Semantic roles & 50–950 ramp

primary
#3791B7
secondary
#C79783
accent
#764BDD
background
#F8FAFC
surface
#EFF5F9
border
#CACFD2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3791B7

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

Preview Lab → · Contrast checker → · Palette generator →

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