#4E70EA#4E70EA

#4E70EA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.6% C 0.188 H 268.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4E70EA
RGBrgb(78, 112, 234)
HSLhsl(227, 79%, 61%)
HSVhsv(227, 67%, 92%)
CMYKcmyk(66.7%, 52.1%, 0%, 8.2%)
CIE-LABlab(50.86, 26.89, -65.40)
CIE-LCHlch(50.86, 70.71, 292.35°)
OKLaboklab(58.63% -0.0054 -0.1879)
OKLCHoklch(58.63% 0.188 268.3)
XYZxyz(23.7822, 19.1463, 80.2682)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70EA #EAC84E
analogous
#4EBEEA #4E70EA #7A4EEA
triadic
#4E70EA #EA4E70 #70EA4E
tetradic
#4E70EA #EA4EBE #EAC84E #4EEA7A
square
#4E70EA #EA4EBE #EAC84E #4EEA7A
split-complementary
#4E70EA #EA7A4E #BEEA4E
monochromatic
#1435A9 #1B46E0 #4E70EA #859CF0 #BBC8F7

Accessibility & contrast

On white

4.35
#4E70EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4E70EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E70EA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70EA#FFFFFF#000000##000000
##4E70EA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F81EE
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e70ea;
/* rgb */ color: rgb(78, 112, 234);
/* oklch */ color: oklch(58.6% 0.188 268.3);
Tailwind
colors: {
  custom: {
    50: '#9098f1',
    500: '#4e70ea',
    950: '#000000',
  },
}
SCSS
$custom: #4e70ea;
$custom-light: #9098f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70ea",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 226.923,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58631,
    "c": 0.18799,
    "h": 268.3
  },
  "luminance": 0.19149
}

Semantic roles & 50–950 ramp

primary
#4E70EA
secondary
#E7DAAD
accent
#AE0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4E70EA

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

Preview Lab → · Contrast checker → · Palette generator →

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