#4E84DB#4E84DB

#4E84DB is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.8% C 0.144 H 259.5°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4E84DB
RGBrgb(78, 132, 219)
HSLhsl(217, 66%, 58%)
HSVhsv(217, 64%, 86%)
CMYKcmyk(64.4%, 39.7%, 0%, 14.1%)
CIE-LABlab(55.31, 9.41, -49.84)
CIE-LCHlch(55.31, 50.72, 280.69°)
OKLaboklab(61.75% -0.0263 -0.1419)
OKLCHoklch(61.75% 0.144 259.5)
XYZxyz(24.1748, 23.2344, 70.2148)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E84DB #DBA54E
analogous
#4ECBDB #4E84DB #5E4EDB
triadic
#4E84DB #DB4E84 #84DB4E
tetradic
#4E84DB #DB4ECB #DBA54E #4EDB5E
square
#4E84DB #DB4ECB #DBA54E #4EDB5E
split-complementary
#4E84DB #DB5E4E #CBDB4E
monochromatic
#1E4A91 #2864C4 #4E84DB #81A7E5 #B4CBF0

Accessibility & contrast

On white

3.72
#4E84DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#4E84DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E84DB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E84DB#FFFFFF#000000##000000
##4E84DB1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8CDE
Deuteranopia (green-blind)
#487ED9
Tritanopia (blue-blind)
#0098A5
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4e84db;
/* rgb */ color: rgb(78, 132, 219);
/* oklch */ color: oklch(61.8% 0.144 259.5);
Tailwind
colors: {
  custom: {
    50: '#8da7e6',
    500: '#4e84db',
    950: '#000000',
  },
}
SCSS
$custom: #4e84db;
$custom-light: #8da7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e84db",
  "rgb": {
    "r": 78,
    "g": 132,
    "b": 219
  },
  "hsl": {
    "h": 217.021,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61753,
    "c": 0.14429,
    "h": 259.5
  },
  "luminance": 0.23237
}

Semantic roles & 50–950 ramp

primary
#4E84DB
secondary
#DEC9A6
accent
#A83FE9
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E84DB

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

Preview Lab → · Contrast checker → · Palette generator →

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