#4E78D2#4E78D2

#4E78D2 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.146 H 263.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4E78D2
RGBrgb(78, 120, 210)
HSLhsl(221, 59%, 56%)
HSVhsv(221, 63%, 82%)
CMYKcmyk(62.9%, 42.9%, 0%, 17.6%)
CIE-LABlab(51.50, 13.64, -50.83)
CIE-LCHlch(51.50, 52.63, 285.02°)
OKLaboklab(58.65% -0.0161 -0.1449)
OKLCHoklch(58.65% 0.146 263.7)
XYZxyz(21.4872, 19.7038, 63.6311)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78D2 #D2A84E
analogous
#4EBAD2 #4E78D2 #664ED2
triadic
#4E78D2 #D24E78 #78D24E
tetradic
#4E78D2 #D24EBA #D2A84E #4ED266
square
#4E78D2 #D24EBA #D2A84E #4ED266
split-complementary
#4E78D2 #D2664E #BAD24E
monochromatic
#224184 #2E59B5 #4E78D2 #7F9DDE #B0C2EB

Accessibility & contrast

On white

4.25
#4E78D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4E78D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78D2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78D2#FFFFFF#000000##000000
##4E78D21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F81D5
Deuteranopia (green-blind)
#3A75D0
Tritanopia (blue-blind)
#008C9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e78d2;
/* rgb */ color: rgb(78, 120, 210);
/* oklch */ color: oklch(58.6% 0.146 263.7);
Tailwind
colors: {
  custom: {
    50: '#8b9ee0',
    500: '#4e78d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e78d2;
$custom-light: #8b9ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78d2",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 220.909,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58645,
    "c": 0.14584,
    "h": 263.7
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#4E78D2
secondary
#D9C8A3
accent
#B145E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E78D2

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

Preview Lab → · Contrast checker → · Palette generator →

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