#4E84DC#4E84DC

#4E84DC is a mid, vivid blue. Relative luminance 0.233; OKLCH L 61.8% C 0.146 H 259.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4E84DC
RGBrgb(78, 132, 220)
HSLhsl(217, 67%, 58%)
HSVhsv(217, 65%, 86%)
CMYKcmyk(64.5%, 40%, 0%, 13.7%)
CIE-LABlab(55.37, 9.75, -50.31)
CIE-LCHlch(55.37, 51.25, 280.97°)
OKLaboklab(61.81% -0.026 -0.1433)
OKLCHoklch(61.81% 0.146 259.7)
XYZxyz(24.3068, 23.2872, 70.9102)
Luminance0.2329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E84DC #DCA64E
analogous
#4ECBDC #4E84DC #5F4EDC
triadic
#4E84DC #DC4E84 #84DC4E
tetradic
#4E84DC #DC4ECB #DCA64E #4EDC5F
square
#4E84DC #DC4ECB #DCA64E #4EDC5F
split-complementary
#4E84DC #DC5F4E #CBDC4E
monochromatic
#1D4A93 #2763C6 #4E84DC #81A8E6 #B4CBF0

Accessibility & contrast

On white

3.71
#4E84DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#4E84DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E84DC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E84DC#FFFFFF#000000##000000
##4E84DC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CDF
Deuteranopia (green-blind)
#477FDA
Tritanopia (blue-blind)
#0098A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4e84dc;
/* rgb */ color: rgb(78, 132, 220);
/* oklch */ color: oklch(61.8% 0.146 259.7);
Tailwind
colors: {
  custom: {
    50: '#8da7e7',
    500: '#4e84dc',
    950: '#000000',
  },
}
SCSS
$custom: #4e84dc;
$custom-light: #8da7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e84dc",
  "rgb": {
    "r": 78,
    "g": 132,
    "b": 220
  },
  "hsl": {
    "h": 217.183,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61812,
    "c": 0.14562,
    "h": 259.7
  },
  "luminance": 0.2329
}

Semantic roles & 50–950 ramp

primary
#4E84DC
secondary
#DFCAA7
accent
#A83EEA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E84DC

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

Preview Lab → · Contrast checker → · Palette generator →

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