#3771CC#3771CC

#3771CC is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.7% C 0.154 H 259.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3771CC
RGBrgb(55, 113, 204)
HSLhsl(217, 59%, 51%)
HSVhsv(217, 73%, 80%)
CMYKcmyk(73%, 44.6%, 0%, 20%)
CIE-LABlab(48.23, 12.24, -52.69)
CIE-LCHlch(48.23, 54.10, 283.08°)
OKLaboklab(55.75% -0.0289 -0.1509)
OKLCHoklch(55.75% 0.154 259.2)
XYZxyz(18.3758, 16.9801, 59.4241)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3771CC #CC9237
analogous
#37BCCC #3771CC #4737CC
triadic
#3771CC #CC3771 #71CC37
tetradic
#3771CC #CC37BC #CC9237 #37CC47
square
#3771CC #CC37BC #CC9237 #37CC47
split-complementary
#3771CC #CC4737 #BCCC37
monochromatic
#1C3B6D #28569E #3771CC #6894D8 #99B6E5

Accessibility & contrast

On white

4.78
#3771CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3771CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3771CC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3771CC#FFFFFF#000000##FFFFFF
##3771CC1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437ACF
Deuteranopia (green-blind)
#256CCA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3771cc;
/* rgb */ color: rgb(55, 113, 204);
/* oklch */ color: oklch(55.7% 0.154 259.2);
Tailwind
colors: {
  custom: {
    50: '#8199dc',
    500: '#3771cc',
    950: '#000000',
  },
}
SCSS
$custom: #3771cc;
$custom-light: #8199dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3771cc",
  "rgb": {
    "r": 55,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 216.644,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.55748,
    "c": 0.15364,
    "h": 259.2
  },
  "luminance": 0.16982
}

Semantic roles & 50–950 ramp

primary
#3771CC
secondary
#D0B78E
accent
#A545E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3771CC

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

Preview Lab → · Contrast checker → · Palette generator →

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