#3791BC#3791BC

#3791BC is a light, moderate cyan. Relative luminance 0.247; OKLCH L 62.2% C 0.106 H 233.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#3791BC
RGBrgb(55, 145, 188)
HSLhsl(199, 55%, 48%)
HSVhsv(199, 71%, 74%)
CMYKcmyk(70.7%, 22.9%, 0%, 26.3%)
CIE-LABlab(56.77, -12.49, -30.09)
CIE-LCHlch(56.77, 32.58, 247.45°)
OKLaboklab(62.19% -0.0637 -0.0845)
OKLCHoklch(62.19% 0.106 233)
XYZxyz(20.7744, 24.6915, 51.2383)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3791BC #BC6237
analogous
#37BCA4 #3791BC #374FBC
triadic
#3791BC #BC3791 #91BC37
tetradic
#3791BC #A437BC #BC6237 #4FBC37
square
#3791BC #A437BC #BC6237 #4FBC37
split-complementary
#3791BC #BC374F #BCA437
monochromatic
#1B485D #296C8D #3791BC #60ACD0 #8FC5DE

Accessibility & contrast

On white

3.54
#3791BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#3791BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3791BC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3791BC#FFFFFF#000000##000000
##3791BC1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C90BE
Deuteranopia (green-blind)
#6A82BB
Tritanopia (blue-blind)
#009C9F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #3791bc;
/* rgb */ color: rgb(55, 145, 188);
/* oklch */ color: oklch(62.2% 0.106 233.0);
Tailwind
colors: {
  custom: {
    50: '#7eb1d0',
    500: '#3791bc',
    950: '#000000',
  },
}
SCSS
$custom: #3791bc;
$custom-light: #7eb1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3791bc",
  "rgb": {
    "r": 55,
    "g": 145,
    "b": 188
  },
  "hsl": {
    "h": 199.398,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.62188,
    "c": 0.10587,
    "h": 233
  },
  "luminance": 0.24694
}

Semantic roles & 50–950 ramp

primary
#3791BC
secondary
#C99C86
accent
#7A4ADE
background
#F8FAFC
surface
#EFF5F9
border
#CACFD2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #3791BC

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

Preview Lab → · Contrast checker → · Palette generator →

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