#4784E4#4784E4

#4784E4 is a mid, vivid blue. Relative luminance 0.234; OKLCH L 62.0% C 0.159 H 259.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4784E4
RGBrgb(71, 132, 228)
HSLhsl(217, 74%, 59%)
HSVhsv(217, 69%, 89%)
CMYKcmyk(68.9%, 42.1%, 0%, 10.6%)
CIE-LABlab(55.52, 11.42, -54.56)
CIE-LCHlch(55.52, 55.74, 281.82°)
OKLaboklab(62% -0.0298 -0.1558)
OKLCHoklch(62% 0.159 259.2)
XYZxyz(24.8483, 23.4410, 76.5988)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4784E4 #E4A747
analogous
#47D2E4 #4784E4 #5847E4
triadic
#4784E4 #E44784 #84E447
tetradic
#4784E4 #E447D2 #E4A747 #47E458
square
#4784E4 #E447D2 #E4A747 #47E458
split-complementary
#4784E4 #E45847 #D2E447
monochromatic
#174A9A #1E63CF #4784E4 #7CA8EC #B2CBF4

Accessibility & contrast

On white

3.69
#4784E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#4784E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4784E4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4784E4#FFFFFF#000000##000000
##4784E41.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#568DE8
Deuteranopia (green-blind)
#3C7EE2
Tritanopia (blue-blind)
#009AA9
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4784e4;
/* rgb */ color: rgb(71, 132, 228);
/* oklch */ color: oklch(62.0% 0.159 259.2);
Tailwind
colors: {
  custom: {
    50: '#8ba7ed',
    500: '#4784e4',
    950: '#000000',
  },
}
SCSS
$custom: #4784e4;
$custom-light: #8ba7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4784e4",
  "rgb": {
    "r": 71,
    "g": 132,
    "b": 228
  },
  "hsl": {
    "h": 216.688,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61998,
    "c": 0.15867,
    "h": 259.2
  },
  "luminance": 0.23444
}

Semantic roles & 50–950 ramp

primary
#4784E4
secondary
#E2CAA4
accent
#A937F1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4784E4

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

Preview Lab → · Contrast checker → · Palette generator →

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