#4771E4#4771E4

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

Color values

HEX#4771E4
RGBrgb(71, 113, 228)
HSLhsl(224, 74%, 59%)
HSVhsv(224, 69%, 89%)
CMYKcmyk(68.9%, 50.4%, 0%, 10.6%)
CIE-LABlab(50.39, 23.14, -62.80)
CIE-LCHlch(50.39, 66.93, 290.23°)
OKLaboklab(58.06% -0.013 -0.1804)
OKLCHoklch(58.06% 0.181 265.9)
XYZxyz(22.5024, 18.7490, 75.8168)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4771E4 #E4BA47
analogous
#47BFE4 #4771E4 #6B47E4
triadic
#4771E4 #E44771 #71E447
tetradic
#4771E4 #E447BF #E4BA47 #47E46B
square
#4771E4 #E447BF #E4BA47 #47E46B
split-complementary
#4771E4 #E46B47 #BFE447
monochromatic
#173A9A #1E4ECF #4771E4 #7C9AEC #B2C3F4

Accessibility & contrast

On white

4.42
#4771E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4771E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4771E4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4771E4#FFFFFF#000000##000000
##4771E41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7FE8
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4771e4;
/* rgb */ color: rgb(71, 113, 228);
/* oklch */ color: oklch(58.1% 0.181 265.9);
Tailwind
colors: {
  custom: {
    50: '#8c99ed',
    500: '#4771e4',
    950: '#000000',
  },
}
SCSS
$custom: #4771e4;
$custom-light: #8c99ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4771e4",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 223.949,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.18084,
    "h": 265.9
  },
  "luminance": 0.18751
}

Semantic roles & 50–950 ramp

primary
#4771E4
secondary
#E2D2A4
accent
#BF37F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4771E4

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

Preview Lab → · Contrast checker → · Palette generator →

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