#3791B3#3791B3

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

Color values

HEX#3791B3
RGBrgb(55, 145, 179)
HSLhsl(196, 53%, 46%)
HSVhsv(196, 69%, 70%)
CMYKcmyk(69.3%, 19%, 0%, 29.8%)
CIE-LABlab(56.40, -15.51, -25.55)
CIE-LCHlch(56.40, 29.89, 238.75°)
OKLaboklab(61.77% -0.067 -0.0715)
OKLCHoklch(61.77% 0.098 226.9)
XYZxyz(19.8344, 24.3155, 46.2871)
Luminance0.2432 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3791B3 #B35937
analogous
#37B397 #3791B3 #3753B3
triadic
#3791B3 #B33791 #91B337
tetradic
#3791B3 #9737B3 #B35937 #53B337
square
#3791B3 #9737B3 #B35937 #53B337
split-complementary
#3791B3 #B33753 #B39737
monochromatic
#1A4555 #296B84 #3791B3 #5BADCD #8AC5DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3791B3#FFFFFF#000000##000000
##3791B31.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3791b3;
/* rgb */ color: rgb(55, 145, 179);
/* oklch */ color: oklch(61.8% 0.098 226.9);
Tailwind
colors: {
  custom: {
    50: '#7db1c9',
    500: '#3791b3',
    950: '#000000',
  },
}
SCSS
$custom: #3791b3;
$custom-light: #7db1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3791b3",
  "rgb": {
    "r": 55,
    "g": 145,
    "b": 179
  },
  "hsl": {
    "h": 196.452,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.61769,
    "c": 0.098,
    "h": 226.9
  },
  "luminance": 0.24318
}

Semantic roles & 50–950 ramp

primary
#3791B3
secondary
#C59381
accent
#734BDC
background
#F8FAFC
surface
#EFF5F8
border
#CACFD1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3791B3

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

Preview Lab → · Contrast checker → · Palette generator →

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