#3791BF#3791BF

#3791BF is a light, moderate cyan. Relative luminance 0.248; OKLCH L 62.3% C 0.109 H 234.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#3791BF
RGBrgb(55, 145, 191)
HSLhsl(200, 55%, 48%)
HSVhsv(200, 71%, 75%)
CMYKcmyk(71.2%, 24.1%, 0%, 25.1%)
CIE-LABlab(56.90, -11.48, -31.59)
CIE-LCHlch(56.90, 33.61, 250.04°)
OKLaboklab(62.33% -0.0627 -0.0889)
OKLCHoklch(62.33% 0.109 234.8)
XYZxyz(21.1012, 24.8222, 52.9592)
Luminance0.2482 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3791BF #BF6537
analogous
#37BFA9 #3791BF #374DBF
triadic
#3791BF #BF3791 #91BF37
tetradic
#3791BF #A937BF #BF6537 #4DBF37
square
#3791BF #A937BF #BF6537 #4DBF37
split-complementary
#3791BF #BF374D #BFA937
monochromatic
#1C4960 #296D8F #3791BF #62ACD2 #91C5DF

Accessibility & contrast

On white

3.52
#3791BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#3791BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3791BF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3791BF#FFFFFF#000000##000000
##3791BF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B90C1
Deuteranopia (green-blind)
#6883BE
Tritanopia (blue-blind)
#009DA1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #3791bf;
/* rgb */ color: rgb(55, 145, 191);
/* oklch */ color: oklch(62.3% 0.109 234.8);
Tailwind
colors: {
  custom: {
    50: '#7fb1d2',
    500: '#3791bf',
    950: '#000000',
  },
}
SCSS
$custom: #3791bf;
$custom-light: #7fb1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3791bf",
  "rgb": {
    "r": 55,
    "g": 145,
    "b": 191
  },
  "hsl": {
    "h": 200.294,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.62332,
    "c": 0.10875,
    "h": 234.8
  },
  "luminance": 0.24825
}

Semantic roles & 50–950 ramp

primary
#3791BF
secondary
#CA9E88
accent
#7C49DF
background
#F8FAFC
surface
#EFF5F9
border
#CACFD2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #3791BF

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

Preview Lab → · Contrast checker → · Palette generator →

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