#4E84D1#4E84D1

#4E84D1 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.2% C 0.131 H 257.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4E84D1
RGBrgb(78, 132, 209)
HSLhsl(215, 59%, 56%)
HSVhsv(215, 63%, 82%)
CMYKcmyk(62.7%, 36.8%, 0%, 18%)
CIE-LABlab(54.79, 6.00, -45.04)
CIE-LCHlch(54.79, 45.44, 277.59°)
OKLaboklab(61.17% -0.0285 -0.1278)
OKLCHoklch(61.17% 0.131 257.4)
XYZxyz(22.8977, 22.7235, 63.4886)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E84D1 #D19B4E
analogous
#4EC6D1 #4E84D1 #5A4ED1
triadic
#4E84D1 #D14E84 #84D14E
tetradic
#4E84D1 #D14EC6 #D19B4E #4ED15A
square
#4E84D1 #D14EC6 #D19B4E #4ED15A
split-complementary
#4E84D1 #D15A4E #C6D14E
monochromatic
#224A83 #2F65B3 #4E84D1 #7FA6DE #AFC8EA

Accessibility & contrast

On white

3.79
#4E84D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#4E84D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E84D1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E84D1#FFFFFF#000000##000000
##4E84D11.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#638AD4
Deuteranopia (green-blind)
#507DCF
Tritanopia (blue-blind)
#0096A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e84d1;
/* rgb */ color: rgb(78, 132, 209);
/* oklch */ color: oklch(61.2% 0.131 257.4);
Tailwind
colors: {
  custom: {
    50: '#8ba7df',
    500: '#4e84d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e84d1;
$custom-light: #8ba7df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e84d1",
  "rgb": {
    "r": 78,
    "g": 132,
    "b": 209
  },
  "hsl": {
    "h": 215.267,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61172,
    "c": 0.13098,
    "h": 257.4
  },
  "luminance": 0.22726
}

Semantic roles & 50–950 ramp

primary
#4E84D1
secondary
#D8C2A2
accent
#A246E2
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E84D1

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

Preview Lab → · Contrast checker → · Palette generator →

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