#3791BA#3791BA

#3791BA is a light, moderate cyan. Relative luminance 0.246; OKLCH L 62.1% C 0.104 H 231.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#3791BA
RGBrgb(55, 145, 186)
HSLhsl(199, 54%, 47%)
HSVhsv(199, 70%, 73%)
CMYKcmyk(70.4%, 22%, 0%, 27.1%)
CIE-LABlab(56.69, -13.17, -29.09)
CIE-LCHlch(56.69, 31.93, 245.64°)
OKLaboklab(62.09% -0.0644 -0.0817)
OKLCHoklch(62.09% 0.104 231.7)
XYZxyz(20.5603, 24.6059, 50.1107)
Luminance0.2461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3791BA #BA6037
analogous
#37BAA2 #3791BA #374FBA
triadic
#3791BA #BA3791 #91BA37
tetradic
#3791BA #A237BA #BA6037 #4FBA37
square
#3791BA #A237BA #BA6037 #4FBA37
split-complementary
#3791BA #BA374F #BAA237
monochromatic
#1B475C #296C8B #3791BA #5FACD0 #8EC5DE

Accessibility & contrast

On white

3.55
#3791BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#3791BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3791BA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3791BA#FFFFFF#000000##000000
##3791BA1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3791ba;
/* rgb */ color: rgb(55, 145, 186);
/* oklch */ color: oklch(62.1% 0.104 231.7);
Tailwind
colors: {
  custom: {
    50: '#7eb1cf',
    500: '#3791ba',
    950: '#000000',
  },
}
SCSS
$custom: #3791ba;
$custom-light: #7eb1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3791ba",
  "rgb": {
    "r": 55,
    "g": 145,
    "b": 186
  },
  "hsl": {
    "h": 198.779,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.62093,
    "c": 0.10402,
    "h": 231.7
  },
  "luminance": 0.24608
}

Semantic roles & 50–950 ramp

primary
#3791BA
secondary
#C89A85
accent
#784ADE
background
#F8FAFC
surface
#EFF5F9
border
#CACFD2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #3791BA

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

Preview Lab → · Contrast checker → · Palette generator →

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