#4782E4#4782E4

#4782E4 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.6% C 0.161 H 260.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4782E4
RGBrgb(71, 130, 228)
HSLhsl(217, 74%, 59%)
HSVhsv(217, 69%, 89%)
CMYKcmyk(68.9%, 43%, 0%, 10.6%)
CIE-LABlab(54.97, 12.64, -55.44)
CIE-LCHlch(54.97, 56.86, 282.84°)
OKLaboklab(61.57% -0.028 -0.1585)
OKLCHoklch(61.57% 0.161 260)
XYZxyz(24.5797, 22.9037, 76.5092)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4782E4 #E4A947
analogous
#47D1E4 #4782E4 #5A47E4
triadic
#4782E4 #E44782 #82E447
tetradic
#4782E4 #E447D1 #E4A947 #47E45A
square
#4782E4 #E447D1 #E4A947 #47E45A
split-complementary
#4782E4 #E45A47 #D1E447
monochromatic
#17489A #1E61CF #4782E4 #7CA6EC #B2CBF4

Accessibility & contrast

On white

3.76
#4782E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#4782E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4782E4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4782E4#FFFFFF#000000##000000
##4782E41.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#538BE8
Deuteranopia (green-blind)
#377DE2
Tritanopia (blue-blind)
#0099A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4782e4;
/* rgb */ color: rgb(71, 130, 228);
/* oklch */ color: oklch(61.6% 0.161 260.0);
Tailwind
colors: {
  custom: {
    50: '#8ba5ed',
    500: '#4782e4',
    950: '#000000',
  },
}
SCSS
$custom: #4782e4;
$custom-light: #8ba5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4782e4",
  "rgb": {
    "r": 71,
    "g": 130,
    "b": 228
  },
  "hsl": {
    "h": 217.452,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61573,
    "c": 0.16092,
    "h": 260
  },
  "luminance": 0.22906
}

Semantic roles & 50–950 ramp

primary
#4782E4
secondary
#E2CBA4
accent
#AB37F1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4782E4

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

Preview Lab → · Contrast checker → · Palette generator →

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