#3771CE#3771CE

#3771CE is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.9% C 0.156 H 259.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3771CE
RGBrgb(55, 113, 206)
HSLhsl(217, 61%, 51%)
HSVhsv(217, 73%, 81%)
CMYKcmyk(73.3%, 45.1%, 0%, 19.2%)
CIE-LABlab(48.36, 12.98, -53.64)
CIE-LCHlch(48.36, 55.19, 283.60°)
OKLaboklab(55.88% -0.0285 -0.1537)
OKLCHoklch(55.88% 0.156 259.5)
XYZxyz(18.6172, 17.0767, 60.6955)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3771CE #CE9437
analogous
#37BCCE #3771CE #4837CE
triadic
#3771CE #CE3771 #71CE37
tetradic
#3771CE #CE37BC #CE9437 #37CE48
square
#3771CE #CE37BC #CE9437 #37CE48
split-complementary
#3771CE #CE4837 #BCCE37
monochromatic
#1B3C6F #2756A0 #3771CE #6894DA #99B7E6

Accessibility & contrast

On white

4.76
#3771CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#3771CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3771CE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3771CE#FFFFFF#000000##FFFFFF
##3771CE1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#417AD2
Deuteranopia (green-blind)
#216CCC
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3771ce;
/* rgb */ color: rgb(55, 113, 206);
/* oklch */ color: oklch(55.9% 0.156 259.5);
Tailwind
colors: {
  custom: {
    50: '#8199dd',
    500: '#3771ce',
    950: '#000000',
  },
}
SCSS
$custom: #3771ce;
$custom-light: #8199dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3771ce",
  "rgb": {
    "r": 55,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 216.954,
    "s": 60.643,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.15631,
    "h": 259.5
  },
  "luminance": 0.17079
}

Semantic roles & 50–950 ramp

primary
#3771CE
secondary
#D2B88F
accent
#A644E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3771CE

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

Preview Lab → · Contrast checker → · Palette generator →

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