#3771B8#3771B8

#3771B8 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.127 H 254.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3771B8
RGBrgb(55, 113, 184)
HSLhsl(213, 54%, 47%)
HSVhsv(213, 70%, 72%)
CMYKcmyk(70.1%, 38.6%, 0%, 27.8%)
CIE-LABlab(47.08, 4.92, -43.02)
CIE-LCHlch(47.08, 43.30, 276.52°)
OKLaboklab(54.48% -0.0331 -0.1225)
OKLCHoklch(54.48% 0.127 254.9)
XYZxyz(16.1292, 16.0815, 47.5921)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3771B8 #B87E37
analogous
#37B2B8 #3771B8 #3D37B8
triadic
#3771B8 #B83771 #71B837
tetradic
#3771B8 #B837B2 #B87E37 #37B83D
square
#3771B8 #B837B2 #B87E37 #37B83D
split-complementary
#3771B8 #B83D37 #B2B837
monochromatic
#1B375A #295489 #3771B8 #5D90CF #8DB1DD

Accessibility & contrast

On white

4.98
#3771B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#3771B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3771B8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3771B8#FFFFFF#000000##FFFFFF
##3771B81.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5176BB
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#00828B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3771b8;
/* rgb */ color: rgb(55, 113, 184);
/* oklch */ color: oklch(54.5% 0.127 254.9);
Tailwind
colors: {
  custom: {
    50: '#7d99ce',
    500: '#3771b8',
    950: '#000000',
  },
}
SCSS
$custom: #3771b8;
$custom-light: #7d99ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3771b8",
  "rgb": {
    "r": 55,
    "g": 113,
    "b": 184
  },
  "hsl": {
    "h": 213.023,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54479,
    "c": 0.1269,
    "h": 254.9
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#3771B8
secondary
#C7A984
accent
#9B4ADD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3771B8

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

Preview Lab → · Contrast checker → · Palette generator →

#3771B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva