#3771BA#3771BA

#3771BA is a mid, vivid cyan. Relative luminance 0.162; OKLCH L 54.6% C 0.130 H 255.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3771BA
RGBrgb(55, 113, 186)
HSLhsl(213, 54%, 47%)
HSVhsv(213, 70%, 73%)
CMYKcmyk(70.4%, 39.2%, 0%, 27.1%)
CIE-LABlab(47.19, 5.64, -44.00)
CIE-LCHlch(47.19, 44.37, 277.31°)
OKLaboklab(54.6% -0.0326 -0.1254)
OKLCHoklch(54.6% 0.13 255.4)
XYZxyz(16.3404, 16.1659, 48.7040)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3771BA #BA8037
analogous
#37B3BA #3771BA #3E37BA
triadic
#3771BA #BA3771 #71BA37
tetradic
#3771BA #BA37B3 #BA8037 #37BA3E
square
#3771BA #BA37B3 #BA8037 #37BA3E
split-complementary
#3771BA #BA3E37 #B3BA37
monochromatic
#1B385C #29548B #3771BA #5F91D0 #8EB1DE

Accessibility & contrast

On white

4.96
#3771BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3771BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3771BA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3771BA#FFFFFF#000000##FFFFFF
##3771BA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BD
Deuteranopia (green-blind)
#3B6AB9
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3771ba;
/* rgb */ color: rgb(55, 113, 186);
/* oklch */ color: oklch(54.6% 0.130 255.4);
Tailwind
colors: {
  custom: {
    50: '#7d99cf',
    500: '#3771ba',
    950: '#000000',
  },
}
SCSS
$custom: #3771ba;
$custom-light: #7d99cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3771ba",
  "rgb": {
    "r": 55,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 213.435,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54601,
    "c": 0.12956,
    "h": 255.4
  },
  "luminance": 0.16168
}

Semantic roles & 50–950 ramp

primary
#3771BA
secondary
#C8AA85
accent
#9C4ADE
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #3771BA

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

Preview Lab → · Contrast checker → · Palette generator →

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