#4E78E8#4E78E8

#4E78E8 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.1% C 0.176 H 265.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4E78E8
RGBrgb(78, 120, 232)
HSLhsl(224, 77%, 61%)
HSVhsv(224, 66%, 91%)
CMYKcmyk(66.4%, 48.3%, 0%, 9%)
CIE-LABlab(52.81, 21.24, -61.12)
CIE-LCHlch(52.81, 64.71, 289.17°)
OKLaboklab(60.08% -0.0127 -0.1752)
OKLCHoklch(60.08% 0.176 265.9)
XYZxyz(24.4188, 20.8765, 79.0710)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78E8 #E8BE4E
analogous
#4EC5E8 #4E78E8 #714EE8
triadic
#4E78E8 #E84E78 #78E84E
tetradic
#4E78E8 #E84EC5 #E8BE4E #4EE871
square
#4E78E8 #E84EC5 #E8BE4E #4EE871
split-complementary
#4E78E8 #E8714E #C5E84E
monochromatic
#163DA6 #1D51DC #4E78E8 #84A1EF #BACBF6

Accessibility & contrast

On white

4.06
#4E78E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4E78E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78E8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78E8#FFFFFF#000000##000000
##4E78E81.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EC
Deuteranopia (green-blind)
#1177E6
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e78e8;
/* rgb */ color: rgb(78, 120, 232);
/* oklch */ color: oklch(60.1% 0.176 265.9);
Tailwind
colors: {
  custom: {
    50: '#8f9ef0',
    500: '#4e78e8',
    950: '#000000',
  },
}
SCSS
$custom: #4e78e8;
$custom-light: #8f9ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78e8",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 223.636,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60075,
    "c": 0.17567,
    "h": 265.9
  },
  "luminance": 0.20879
}

Semantic roles & 50–950 ramp

primary
#4E78E8
secondary
#E6D6AC
accent
#A10CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E78E8

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

Preview Lab → · Contrast checker → · Palette generator →

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