#3771B2#3771B2

#3771B2 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.119 H 253.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#3771B2
RGBrgb(55, 113, 178)
HSLhsl(212, 53%, 46%)
HSVhsv(212, 69%, 70%)
CMYKcmyk(69.1%, 36.5%, 0%, 30.2%)
CIE-LABlab(46.76, 2.74, -40.05)
CIE-LCHlch(46.76, 40.15, 273.92°)
OKLaboklab(54.12% -0.0346 -0.1138)
OKLCHoklch(54.12% 0.119 253.1)
XYZxyz(15.5136, 15.8352, 44.3498)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3771B2 #B27837
analogous
#37AEB2 #3771B2 #3A37B2
triadic
#3771B2 #B23771 #71B237
tetradic
#3771B2 #B237AE #B27837 #37B23A
square
#3771B2 #B237AE #B27837 #37B23A
split-complementary
#3771B2 #B23A37 #AEB237
monochromatic
#1A3654 #295383 #3771B2 #5A90CC #89AFDB

Accessibility & contrast

On white

5.04
#3771B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#3771B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3771B2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3771B2#FFFFFF#000000##FFFFFF
##3771B21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#426AB1
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3771b2;
/* rgb */ color: rgb(55, 113, 178);
/* oklch */ color: oklch(54.1% 0.119 253.1);
Tailwind
colors: {
  custom: {
    50: '#7c99c9',
    500: '#3771b2',
    950: '#000000',
  },
}
SCSS
$custom: #3771b2;
$custom-light: #7c99c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3771b2",
  "rgb": {
    "r": 55,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 211.707,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54121,
    "c": 0.11895,
    "h": 253.1
  },
  "luminance": 0.15837
}

Semantic roles & 50–950 ramp

primary
#3771B2
secondary
#C5A480
accent
#984CDC
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3771B2

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

Preview Lab → · Contrast checker → · Palette generator →

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