#4E70E9#4E70E9

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

Color values

HEX#4E70E9
RGBrgb(78, 112, 233)
HSLhsl(227, 78%, 61%)
HSVhsv(227, 67%, 91%)
CMYKcmyk(66.5%, 51.9%, 0%, 8.6%)
CIE-LABlab(50.79, 26.54, -64.95)
CIE-LCHlch(50.79, 70.16, 292.23°)
OKLaboklab(58.56% -0.0055 -0.1866)
OKLCHoklch(58.56% 0.187 268.3)
XYZxyz(23.6390, 19.0890, 79.5138)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70E9 #E9C74E
analogous
#4EBDE9 #4E70E9 #794EE9
triadic
#4E70E9 #E94E70 #70E94E
tetradic
#4E70E9 #E94EBD #E9C74E #4EE979
square
#4E70E9 #E94EBD #E9C74E #4EE979
split-complementary
#4E70E9 #E9794E #BDE94E
monochromatic
#1535A8 #1C46DE #4E70E9 #849CF0 #BBC8F7

Accessibility & contrast

On white

4.36
#4E70E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4E70E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E70E9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70E9#FFFFFF#000000##000000
##4E70E91.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2180ED
Deuteranopia (green-blind)
#0072E7
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e70e9;
/* rgb */ color: rgb(78, 112, 233);
/* oklch */ color: oklch(58.6% 0.187 268.3);
Tailwind
colors: {
  custom: {
    50: '#9098f1',
    500: '#4e70e9',
    950: '#000000',
  },
}
SCSS
$custom: #4e70e9;
$custom-light: #9098f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70e9",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 233
  },
  "hsl": {
    "h": 226.839,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5856,
    "c": 0.18665,
    "h": 268.3
  },
  "luminance": 0.19091
}

Semantic roles & 50–950 ramp

primary
#4E70E9
secondary
#E7DAAC
accent
#AD0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4E70E9

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

Preview Lab → · Contrast checker → · Palette generator →

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