#4771E5#4771E5

#4771E5 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.182 H 265.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4771E5
RGBrgb(71, 113, 229)
HSLhsl(224, 75%, 59%)
HSVhsv(224, 69%, 90%)
CMYKcmyk(69%, 50.7%, 0%, 10.2%)
CIE-LABlab(50.46, 23.49, -63.26)
CIE-LCHlch(50.46, 67.48, 290.38°)
OKLaboklab(58.13% -0.0129 -0.1817)
OKLCHoklch(58.13% 0.182 265.9)
XYZxyz(22.6416, 18.8047, 76.5500)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4771E5 #E5BB47
analogous
#47C0E5 #4771E5 #6C47E5
triadic
#4771E5 #E54771 #71E547
tetradic
#4771E5 #E547C0 #E5BB47 #47E56C
square
#4771E5 #E547C0 #E5BB47 #47E56C
split-complementary
#4771E5 #E56C47 #C0E547
monochromatic
#163A9C #1E4DD1 #4771E5 #7D9AED #B2C4F4

Accessibility & contrast

On white

4.41
#4771E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4771E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4771E5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4771E5#FFFFFF#000000##000000
##4771E51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A80E9
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#008DA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4771e5;
/* rgb */ color: rgb(71, 113, 229);
/* oklch */ color: oklch(58.1% 0.182 265.9);
Tailwind
colors: {
  custom: {
    50: '#8c99ee',
    500: '#4771e5',
    950: '#000000',
  },
}
SCSS
$custom: #4771e5;
$custom-light: #8c99ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4771e5",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 224.051,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58134,
    "c": 0.18218,
    "h": 265.9
  },
  "luminance": 0.18807
}

Semantic roles & 50–950 ramp

primary
#4771E5
secondary
#E3D2A5
accent
#C036F2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4771E5

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

Preview Lab → · Contrast checker → · Palette generator →

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