#4E7AF7#4E7AF7

#4E7AF7 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.5% C 0.193 H 266.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4E7AF7
RGBrgb(78, 122, 247)
HSLhsl(224, 91%, 64%)
HSVhsv(224, 68%, 97%)
CMYKcmyk(68.4%, 50.6%, 0%, 3.1%)
CIE-LABlab(54.29, 25.23, -67.10)
CIE-LCHlch(54.29, 71.68, 290.61°)
OKLaboklab(61.51% -0.0128 -0.1927)
OKLCHoklch(61.51% 0.193 266.2)
XYZxyz(26.8841, 22.2515, 90.8558)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AF7 #F7CB4E
analogous
#4ECEF7 #4E7AF7 #764EF7
triadic
#4E7AF7 #F74E7A #7AF74E
tetradic
#4E7AF7 #F74ECE #F7CB4E #4EF776
square
#4E7AF7 #F74ECE #F7CB4E #4EF776
split-complementary
#4E7AF7 #F7764E #CEF74E
monochromatic
#0939C2 #134EF4 #4E7AF7 #89A6FA #C3D2FC

Accessibility & contrast

On white

3.85
#4E7AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4E7AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AF7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AF7#FFFFFF#000000##000000
##4E7AF71.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7af7;
/* rgb */ color: rgb(78, 122, 247);
/* oklch */ color: oklch(61.5% 0.193 266.2);
Tailwind
colors: {
  custom: {
    50: '#929ffb',
    500: '#4e7af7',
    950: '#000000',
  },
}
SCSS
$custom: #4e7af7;
$custom-light: #929ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7af7",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 224.379,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61505,
    "c": 0.19317,
    "h": 266.2
  },
  "luminance": 0.22254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E7AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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