#4E70E3#4E70E3

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

Color values

HEX#4E70E3
RGBrgb(78, 112, 227)
HSLhsl(226, 73%, 60%)
HSVhsv(226, 66%, 89%)
CMYKcmyk(65.6%, 50.7%, 0%, 11%)
CIE-LABlab(50.40, 24.47, -62.21)
CIE-LCHlch(50.40, 66.85, 291.47°)
OKLaboklab(58.13% -0.0061 -0.1785)
OKLCHoklch(58.13% 0.179 268.1)
XYZxyz(22.7964, 18.7520, 75.0763)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70E3 #E3C14E
analogous
#4EBAE3 #4E70E3 #774EE3
triadic
#4E70E3 #E34E70 #70E34E
tetradic
#4E70E3 #E34EBA #E3C14E #4EE377
square
#4E70E3 #E34EBA #E3C14E #4EE377
split-complementary
#4E70E3 #E3774E #BAE34E
monochromatic
#19379E #214AD3 #4E70E3 #839BEB #B8C5F4

Accessibility & contrast

On white

4.42
#4E70E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4E70E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E70E3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70E3#FFFFFF#000000##000000
##4E70E31.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e70e3;
/* rgb */ color: rgb(78, 112, 227);
/* oklch */ color: oklch(58.1% 0.179 268.1);
Tailwind
colors: {
  custom: {
    50: '#8f98ec',
    500: '#4e70e3',
    950: '#000000',
  },
}
SCSS
$custom: #4e70e3;
$custom-light: #8f98ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70e3",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 227
  },
  "hsl": {
    "h": 226.309,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58134,
    "c": 0.17863,
    "h": 268.1
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#4E70E3
secondary
#E3D6AA
accent
#C638EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4E70E3

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

Preview Lab → · Contrast checker → · Palette generator →

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