#4E84D7#4E84D7

#4E84D7 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.5% C 0.139 H 258.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4E84D7
RGBrgb(78, 132, 215)
HSLhsl(216, 63%, 57%)
HSVhsv(216, 64%, 84%)
CMYKcmyk(63.7%, 38.6%, 0%, 15.7%)
CIE-LABlab(55.10, 8.04, -47.93)
CIE-LCHlch(55.10, 48.60, 279.53°)
OKLaboklab(61.52% -0.0271 -0.1363)
OKLCHoklch(61.52% 0.139 258.7)
XYZxyz(23.6545, 23.0263, 67.4747)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E84D7 #D7A14E
analogous
#4EC9D7 #4E84D7 #5C4ED7
triadic
#4E84D7 #D74E84 #84D74E
tetradic
#4E84D7 #D74EC9 #D7A14E #4ED75C
square
#4E84D7 #D74EC9 #D7A14E #4ED75C
split-complementary
#4E84D7 #D75C4E #C9D74E
monochromatic
#1F4A8B #2B64BD #4E84D7 #80A7E2 #B2C9EE

Accessibility & contrast

On white

3.75
#4E84D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#4E84D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E84D7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E84D7#FFFFFF#000000##000000
##4E84D71.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8BDA
Deuteranopia (green-blind)
#4C7ED5
Tritanopia (blue-blind)
#0097A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4e84d7;
/* rgb */ color: rgb(78, 132, 215);
/* oklch */ color: oklch(61.5% 0.139 258.7);
Tailwind
colors: {
  custom: {
    50: '#8ca7e4',
    500: '#4e84d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e84d7;
$custom-light: #8ca7e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e84d7",
  "rgb": {
    "r": 78,
    "g": 132,
    "b": 215
  },
  "hsl": {
    "h": 216.35,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61518,
    "c": 0.13896,
    "h": 258.7
  },
  "luminance": 0.23029
}

Semantic roles & 50–950 ramp

primary
#4E84D7
secondary
#DCC6A5
accent
#A542E6
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4E84D7

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

Preview Lab → · Contrast checker → · Palette generator →

#4E84D7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva