#4E78E5#4E78E5

#4E78E5 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.9% C 0.172 H 265.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4E78E5
RGBrgb(78, 120, 229)
HSLhsl(223, 74%, 60%)
HSVhsv(223, 66%, 90%)
CMYKcmyk(65.9%, 47.6%, 0%, 10.2%)
CIE-LABlab(52.63, 20.20, -59.74)
CIE-LCHlch(52.63, 63.07, 288.68°)
OKLaboklab(59.87% -0.0131 -0.1711)
OKLCHoklch(59.87% 0.172 265.6)
XYZxyz(23.9963, 20.7075, 76.8459)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78E5 #E5BB4E
analogous
#4EC4E5 #4E78E5 #6F4EE5
triadic
#4E78E5 #E54E78 #78E54E
tetradic
#4E78E5 #E54EC4 #E5BB4E #4EE56F
square
#4E78E5 #E54EC4 #E5BB4E #4EE56F
split-complementary
#4E78E5 #E56F4E #C4E54E
monochromatic
#183EA1 #1F52D6 #4E78E5 #83A1ED #B9C9F5

Accessibility & contrast

On white

4.08
#4E78E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4E78E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78E5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78E5#FFFFFF#000000##000000
##4E78E51.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E85E9
Deuteranopia (green-blind)
#1B77E3
Tritanopia (blue-blind)
#0091A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e78e5;
/* rgb */ color: rgb(78, 120, 229);
/* oklch */ color: oklch(59.9% 0.172 265.6);
Tailwind
colors: {
  custom: {
    50: '#8f9eee',
    500: '#4e78e5',
    950: '#000000',
  },
}
SCSS
$custom: #4e78e5;
$custom-light: #8f9eee;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78e5",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 229
  },
  "hsl": {
    "h": 223.311,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59873,
    "c": 0.17165,
    "h": 265.6
  },
  "luminance": 0.2071
}

Semantic roles & 50–950 ramp

primary
#4E78E5
secondary
#E4D4AA
accent
#9F0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E78E5

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

Preview Lab → · Contrast checker → · Palette generator →

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