#4E79F7#4E79F7

#4E79F7 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.3% C 0.194 H 266.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4E79F7
RGBrgb(78, 121, 247)
HSLhsl(225, 91%, 64%)
HSVhsv(225, 68%, 97%)
CMYKcmyk(68.4%, 51%, 0%, 3.1%)
CIE-LABlab(54.03, 25.84, -67.51)
CIE-LCHlch(54.03, 72.29, 290.95°)
OKLaboklab(61.31% -0.0119 -0.194)
OKLCHoklch(61.31% 0.194 266.5)
XYZxyz(26.7619, 22.0072, 90.8151)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79F7 #F7CC4E
analogous
#4ECDF7 #4E79F7 #774EF7
triadic
#4E79F7 #F74E79 #79F74E
tetradic
#4E79F7 #F74ECD #F7CC4E #4EF777
square
#4E79F7 #F74ECD #F7CC4E #4EF777
split-complementary
#4E79F7 #F7774E #CDF74E
monochromatic
#0938C2 #134DF4 #4E79F7 #89A5FA #C3D2FC

Accessibility & contrast

On white

3.89
#4E79F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4E79F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79F7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79F7#FFFFFF#000000##000000
##4E79F71.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2989FB
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#0097AD
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e79f7;
/* rgb */ color: rgb(78, 121, 247);
/* oklch */ color: oklch(61.3% 0.194 266.5);
Tailwind
colors: {
  custom: {
    50: '#929ffb',
    500: '#4e79f7',
    950: '#000000',
  },
}
SCSS
$custom: #4e79f7;
$custom-light: #929ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79f7",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 224.734,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61309,
    "c": 0.19436,
    "h": 266.5
  },
  "luminance": 0.2201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E79F7

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

Preview Lab → · Contrast checker → · Palette generator →

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