#3771E5#3771E5

#3771E5 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.5% C 0.187 H 262.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3771E5
RGBrgb(55, 113, 229)
HSLhsl(220, 77%, 56%)
HSVhsv(220, 76%, 90%)
CMYKcmyk(76%, 50.7%, 0%, 10.2%)
CIE-LABlab(49.83, 21.46, -64.30)
CIE-LCHlch(49.83, 67.79, 288.45°)
OKLaboklab(57.48% -0.0252 -0.1851)
OKLCHoklch(57.48% 0.187 262.2)
XYZxyz(21.6185, 18.2772, 76.5020)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3771E5 #E5AB37
analogous
#37C8E5 #3771E5 #5437E5
triadic
#3771E5 #E53771 #71E537
tetradic
#3771E5 #E537C8 #E5AB37 #37E554
square
#3771E5 #E537C8 #E5AB37 #37E554
split-complementary
#3771E5 #E55437 #C8E537
monochromatic
#133C8F #1A53C5 #3771E5 #6D97EC #A3BEF3

Accessibility & contrast

On white

4.51
#3771E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#3771E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3771E5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3771E5#FFFFFF#000000##000000
##3771E51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#267FE9
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#008DA0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3771e5;
/* rgb */ color: rgb(55, 113, 229);
/* oklch */ color: oklch(57.5% 0.187 262.2);
Tailwind
colors: {
  custom: {
    50: '#8699ee',
    500: '#3771e5',
    950: '#000000',
  },
}
SCSS
$custom: #3771e5;
$custom-light: #8699ee;
$custom-dark: #000000;
JSON
{
  "hex": "#3771e5",
  "rgb": {
    "r": 55,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 220,
    "s": 76.991,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57483,
    "c": 0.18677,
    "h": 262.2
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#3771E5
secondary
#E0C898
accent
#B434F4
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #3771E5

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

Preview Lab → · Contrast checker → · Palette generator →

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