#4E78D7#4E78D7

#4E78D7 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.0% C 0.153 H 264.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4E78D7
RGBrgb(78, 120, 215)
HSLhsl(222, 63%, 57%)
HSVhsv(222, 64%, 84%)
CMYKcmyk(63.7%, 44.2%, 0%, 15.7%)
CIE-LABlab(51.79, 15.36, -53.20)
CIE-LCHlch(51.79, 55.38, 286.10°)
OKLaboklab(58.96% -0.0152 -0.1519)
OKLCHoklch(58.96% 0.153 264.3)
XYZxyz(22.1198, 19.9569, 66.9632)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78D7 #D7AD4E
analogous
#4EBCD7 #4E78D7 #694ED7
triadic
#4E78D7 #D74E78 #78D74E
tetradic
#4E78D7 #D74EBC #D7AD4E #4ED769
square
#4E78D7 #D74EBC #D7AD4E #4ED769
split-complementary
#4E78D7 #D7694E #BCD74E
monochromatic
#1F408B #2B58BD #4E78D7 #809EE2 #B2C4EE

Accessibility & contrast

On white

4.21
#4E78D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4E78D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78D7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78D7#FFFFFF#000000##000000
##4E78D71.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B82DB
Deuteranopia (green-blind)
#3476D5
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e78d7;
/* rgb */ color: rgb(78, 120, 215);
/* oklch */ color: oklch(59.0% 0.153 264.3);
Tailwind
colors: {
  custom: {
    50: '#8c9ee4',
    500: '#4e78d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e78d7;
$custom-light: #8c9ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78d7",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 215
  },
  "hsl": {
    "h": 221.606,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5896,
    "c": 0.15268,
    "h": 264.3
  },
  "luminance": 0.19959
}

Semantic roles & 50–950 ramp

primary
#4E78D7
secondary
#DCCBA5
accent
#B442E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #4E78D7

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

Preview Lab → · Contrast checker → · Palette generator →

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