#4E70F5#4E70F5

#4E70F5 is a mid, highly saturated blue. Relative luminance 0.198; OKLCH L 59.4% C 0.202 H 268.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4E70F5
RGBrgb(78, 112, 245)
HSLhsl(228, 89%, 63%)
HSVhsv(228, 68%, 96%)
CMYKcmyk(68.2%, 54.3%, 0%, 3.9%)
CIE-LABlab(51.61, 30.69, -70.33)
CIE-LCHlch(51.61, 76.74, 293.58°)
OKLaboklab(59.44% -0.0047 -0.2024)
OKLCHoklch(59.44% 0.202 268.7)
XYZxyz(25.4118, 19.7981, 88.8507)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E70F5 #F5D34E
analogous
#4EC4F5 #4E70F5 #7F4EF5
triadic
#4E70F5 #F54E70 #70F54E
tetradic
#4E70F5 #F54EC4 #F5D34E #4EF57F
square
#4E70F5 #F54EC4 #F5D34E #4EF57F
split-complementary
#4E70F5 #F57F4E #C4F54E
monochromatic
#0B2FBE #1441F2 #4E70F5 #889FF8 #C2CEFC

Accessibility & contrast

On white

4.23
#4E70F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4E70F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E70F5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E70F5#FFFFFF#000000##000000
##4E70F51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#0074F2
Tritanopia (blue-blind)
#0090A8
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e70f5;
/* rgb */ color: rgb(78, 112, 245);
/* oklch */ color: oklch(59.4% 0.202 268.7);
Tailwind
colors: {
  custom: {
    50: '#9298f9',
    500: '#4e70f5',
    950: '#000000',
  },
}
SCSS
$custom: #4e70f5;
$custom-light: #9298f9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e70f5",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 227.784,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59435,
    "c": 0.20247,
    "h": 268.7
  },
  "luminance": 0.19801
}

Semantic roles & 50–950 ramp

primary
#4E70F5
secondary
#EDE1B2
accent
#B700E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4E70F5

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

Preview Lab → · Contrast checker → · Palette generator →

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