#3771C4#3771C4

#3771C4 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.2% C 0.143 H 257.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3771C4
RGBrgb(55, 113, 196)
HSLhsl(215, 56%, 49%)
HSVhsv(215, 72%, 77%)
CMYKcmyk(71.9%, 42.3%, 0%, 23.1%)
CIE-LABlab(47.76, 9.30, -48.87)
CIE-LCHlch(47.76, 49.74, 280.78°)
OKLaboklab(55.23% -0.0304 -0.1397)
OKLCHoklch(55.23% 0.143 257.7)
XYZxyz(17.4409, 16.6061, 54.5000)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3771C4 #C48A37
analogous
#37B8C4 #3771C4 #4437C4
triadic
#3771C4 #C43771 #71C437
tetradic
#3771C4 #C437B8 #C48A37 #37C444
square
#3771C4 #C437B8 #C48A37 #37C444
split-complementary
#3771C4 #C44437 #B8C437
monochromatic
#1C3A64 #2A5594 #3771C4 #6592D4 #94B4E1

Accessibility & contrast

On white

4.86
#3771C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#3771C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3771C4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3771C4#FFFFFF#000000##FFFFFF
##3771C41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4978C7
Deuteranopia (green-blind)
#316BC2
Tritanopia (blue-blind)
#008491
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3771c4;
/* rgb */ color: rgb(55, 113, 196);
/* oklch */ color: oklch(55.2% 0.143 257.7);
Tailwind
colors: {
  custom: {
    50: '#7f99d6',
    500: '#3771c4',
    950: '#000000',
  },
}
SCSS
$custom: #3771c4;
$custom-light: #7f99d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3771c4",
  "rgb": {
    "r": 55,
    "g": 113,
    "b": 196
  },
  "hsl": {
    "h": 215.319,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55227,
    "c": 0.14293,
    "h": 257.7
  },
  "luminance": 0.16608
}

Semantic roles & 50–950 ramp

primary
#3771C4
secondary
#CCB18B
accent
#A148DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #3771C4

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

Preview Lab → · Contrast checker → · Palette generator →

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