#3791B2#3791B2

#3791B2 is a mid, moderate cyan. Relative luminance 0.243; OKLCH L 61.7% C 0.097 H 226.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3791B2
RGBrgb(55, 145, 178)
HSLhsl(196, 53%, 46%)
HSVhsv(196, 69%, 70%)
CMYKcmyk(69.1%, 18.5%, 0%, 30.2%)
CIE-LABlab(56.36, -15.84, -25.04)
CIE-LCHlch(56.36, 29.63, 237.69°)
OKLaboklab(61.72% -0.0674 -0.0701)
OKLCHoklch(61.72% 0.097 226.1)
XYZxyz(19.7336, 24.2752, 45.7564)
Luminance0.2428 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3791B2 #B25837
analogous
#37B296 #3791B2 #3753B2
triadic
#3791B2 #B23791 #91B237
tetradic
#3791B2 #9637B2 #B25837 #53B237
square
#3791B2 #9637B2 #B25837 #53B237
split-complementary
#3791B2 #B23753 #B29637
monochromatic
#1A4554 #296B83 #3791B2 #5AADCC #89C5DB

Accessibility & contrast

On white

3.59
#3791B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#3791B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3791B2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3791B2#FFFFFF#000000##000000
##3791B21.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3791b2;
/* rgb */ color: rgb(55, 145, 178);
/* oklch */ color: oklch(61.7% 0.097 226.1);
Tailwind
colors: {
  custom: {
    50: '#7db1c9',
    500: '#3791b2',
    950: '#000000',
  },
}
SCSS
$custom: #3791b2;
$custom-light: #7db1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3791b2",
  "rgb": {
    "r": 55,
    "g": 145,
    "b": 178
  },
  "hsl": {
    "h": 196.098,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.61724,
    "c": 0.09721,
    "h": 226.1
  },
  "luminance": 0.24277
}

Semantic roles & 50–950 ramp

primary
#3791B2
secondary
#C59380
accent
#724CDC
background
#F8FAFC
surface
#EFF5F8
border
#CACFD1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3791B2

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

Preview Lab → · Contrast checker → · Palette generator →

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