#4784E2#4784E2

#4784E2 is a mid, vivid blue. Relative luminance 0.233; OKLCH L 61.9% C 0.156 H 258.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4784E2
RGBrgb(71, 132, 226)
HSLhsl(216, 73%, 58%)
HSVhsv(216, 69%, 89%)
CMYKcmyk(68.6%, 41.6%, 0%, 11.4%)
CIE-LABlab(55.41, 10.71, -53.62)
CIE-LCHlch(55.41, 54.68, 281.30°)
OKLaboklab(61.88% -0.0302 -0.1531)
OKLCHoklch(61.88% 0.156 258.8)
XYZxyz(24.5723, 23.3306, 75.1450)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4784E2 #E2A547
analogous
#47D1E2 #4784E2 #5747E2
triadic
#4784E2 #E24784 #84E247
tetradic
#4784E2 #E247D1 #E2A547 #47E257
square
#4784E2 #E247D1 #E2A547 #47E257
split-complementary
#4784E2 #E25747 #D1E247
monochromatic
#184A97 #2064CC #4784E2 #7CA7EA #B1CBF3

Accessibility & contrast

On white

3.71
#4784E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#4784E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4784E2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4784E2#FFFFFF#000000##000000
##4784E21.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#588CE6
Deuteranopia (green-blind)
#3E7EE0
Tritanopia (blue-blind)
#009AA8
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4784e2;
/* rgb */ color: rgb(71, 132, 226);
/* oklch */ color: oklch(61.9% 0.156 258.8);
Tailwind
colors: {
  custom: {
    50: '#8ba7eb',
    500: '#4784e2',
    950: '#000000',
  },
}
SCSS
$custom: #4784e2;
$custom-light: #8ba7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4784e2",
  "rgb": {
    "r": 71,
    "g": 132,
    "b": 226
  },
  "hsl": {
    "h": 216.387,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61875,
    "c": 0.15605,
    "h": 258.8
  },
  "luminance": 0.23333
}

Semantic roles & 50–950 ramp

primary
#4784E2
secondary
#E1C9A4
accent
#A738EF
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4784E2

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

Preview Lab → · Contrast checker → · Palette generator →

#4784E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva