#4E70E4#4E70E4

#4E70E4 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.2% C 0.180 H 268.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4E70E4
RGBrgb(78, 112, 228)
HSLhsl(226, 74%, 60%)
HSVhsv(226, 66%, 89%)
CMYKcmyk(65.8%, 50.9%, 0%, 10.6%)
CIE-LABlab(50.46, 24.81, -62.67)
CIE-LCHlch(50.46, 67.41, 291.60°)
OKLaboklab(58.21% -0.006 -0.1799)
OKLCHoklch(58.21% 0.18 268.1)
XYZxyz(22.9348, 18.8073, 75.8053)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70E4 #E4C24E
analogous
#4EBBE4 #4E70E4 #774EE4
triadic
#4E70E4 #E44E70 #70E44E
tetradic
#4E70E4 #E44EBB #E4C24E #4EE477
square
#4E70E4 #E44EBB #E4C24E #4EE477
split-complementary
#4E70E4 #E4774E #BBE44E
monochromatic
#18379F #2049D4 #4E70E4 #839BEC #B8C6F4

Accessibility & contrast

On white

4.41
#4E70E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4E70E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E70E4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70E4#FFFFFF#000000##000000
##4E70E41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7FE8
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e70e4;
/* rgb */ color: rgb(78, 112, 228);
/* oklch */ color: oklch(58.2% 0.180 268.1);
Tailwind
colors: {
  custom: {
    50: '#8f98ed',
    500: '#4e70e4',
    950: '#000000',
  },
}
SCSS
$custom: #4e70e4;
$custom-light: #8f98ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70e4",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 226.4,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.58205,
    "c": 0.17998,
    "h": 268.1
  },
  "luminance": 0.18809
}

Semantic roles & 50–950 ramp

primary
#4E70E4
secondary
#E4D7AA
accent
#C638F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4E70E4

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

Preview Lab → · Contrast checker → · Palette generator →

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