#4E84D2#4E84D2

#4E84D2 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.2% C 0.132 H 257.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4E84D2
RGBrgb(78, 132, 210)
HSLhsl(215, 59%, 56%)
HSVhsv(215, 63%, 82%)
CMYKcmyk(62.9%, 37.1%, 0%, 17.6%)
CIE-LABlab(54.84, 6.34, -45.52)
CIE-LCHlch(54.84, 45.96, 277.93°)
OKLaboklab(61.23% -0.0283 -0.1292)
OKLCHoklch(61.23% 0.132 257.6)
XYZxyz(23.0219, 22.7732, 64.1427)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E84D2 #D29C4E
analogous
#4EC6D2 #4E84D2 #5A4ED2
triadic
#4E84D2 #D24E84 #84D24E
tetradic
#4E84D2 #D24EC6 #D29C4E #4ED25A
square
#4E84D2 #D24EC6 #D29C4E #4ED25A
split-complementary
#4E84D2 #D25A4E #C6D24E
monochromatic
#224A84 #2E65B5 #4E84D2 #7FA6DE #B0C8EB

Accessibility & contrast

On white

3.78
#4E84D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#4E84D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E84D2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E84D2#FFFFFF#000000##000000
##4E84D21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#628AD5
Deuteranopia (green-blind)
#507ED0
Tritanopia (blue-blind)
#0096A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e84d2;
/* rgb */ color: rgb(78, 132, 210);
/* oklch */ color: oklch(61.2% 0.132 257.6);
Tailwind
colors: {
  custom: {
    50: '#8ba7e0',
    500: '#4e84d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e84d2;
$custom-light: #8ba7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e84d2",
  "rgb": {
    "r": 78,
    "g": 132,
    "b": 210
  },
  "hsl": {
    "h": 215.455,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61229,
    "c": 0.13231,
    "h": 257.6
  },
  "luminance": 0.22775
}

Semantic roles & 50–950 ramp

primary
#4E84D2
secondary
#D9C3A3
accent
#A245E3
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E84D2

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

Preview Lab → · Contrast checker → · Palette generator →

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