#4E7AF8#4E7AF8

#4E7AF8 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.6% C 0.194 H 266.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4E7AF8
RGBrgb(78, 122, 248)
HSLhsl(224, 92%, 64%)
HSVhsv(224, 69%, 97%)
CMYKcmyk(68.5%, 50.8%, 0%, 2.7%)
CIE-LABlab(54.36, 25.57, -67.54)
CIE-LCHlch(54.36, 72.22, 290.74°)
OKLaboklab(61.58% -0.0127 -0.1941)
OKLCHoklch(61.58% 0.194 266.3)
XYZxyz(27.0388, 22.3134, 91.6707)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AF8 #F8CC4E
analogous
#4ECFF8 #4E7AF8 #774EF8
triadic
#4E7AF8 #F84E7A #7AF84E
tetradic
#4E7AF8 #F84ECF #F8CC4E #4EF877
square
#4E7AF8 #F84ECF #F8CC4E #4EF877
split-complementary
#4E7AF8 #F8774E #CFF84E
monochromatic
#0838C4 #134EF6 #4E7AF8 #89A6FA #C4D2FD

Accessibility & contrast

On white

3.84
#4E7AF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4E7AF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AF8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AF8#FFFFFF#000000##000000
##4E7AF81.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8AFC
Deuteranopia (green-blind)
#007BF5
Tritanopia (blue-blind)
#0098AD
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e7af8;
/* rgb */ color: rgb(78, 122, 248);
/* oklch */ color: oklch(61.6% 0.194 266.3);
Tailwind
colors: {
  custom: {
    50: '#929ffb',
    500: '#4e7af8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7af8;
$custom-light: #929ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7af8",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 224.471,
    "s": 92.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61575,
    "c": 0.19448,
    "h": 266.3
  },
  "luminance": 0.22316
}

Semantic roles & 50–950 ramp

primary
#4E7AF8
secondary
#EFDFB3
accent
#AA00E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E7AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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