#4E79F5#4E79F5

#4E79F5 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.192 H 266.4°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4E79F5
RGBrgb(78, 121, 245)
HSLhsl(225, 89%, 63%)
HSVhsv(225, 68%, 96%)
CMYKcmyk(68.2%, 50.6%, 0%, 3.9%)
CIE-LABlab(53.90, 25.15, -66.61)
CIE-LCHlch(53.90, 71.20, 290.68°)
OKLaboklab(61.17% -0.0121 -0.1913)
OKLCHoklch(61.17% 0.192 266.4)
XYZxyz(26.4550, 21.8844, 89.1984)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79F5 #F5CA4E
analogous
#4ECCF5 #4E79F5 #764EF5
triadic
#4E79F5 #F54E79 #79F54E
tetradic
#4E79F5 #F54ECC #F5CA4E #4EF576
square
#4E79F5 #F54ECC #F5CA4E #4EF576
split-complementary
#4E79F5 #F5764E #CCF54E
monochromatic
#0B39BE #144DF2 #4E79F5 #88A5F8 #C2D1FC

Accessibility & contrast

On white

3.91
#4E79F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#4E79F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79F5
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79F5#FFFFFF#000000##000000
##4E79F51.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89F9
Deuteranopia (green-blind)
#007AF2
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e79f5;
/* rgb */ color: rgb(78, 121, 245);
/* oklch */ color: oklch(61.2% 0.192 266.4);
Tailwind
colors: {
  custom: {
    50: '#929ff9',
    500: '#4e79f5',
    950: '#000000',
  },
}
SCSS
$custom: #4e79f5;
$custom-light: #929ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79f5",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 245
  },
  "hsl": {
    "h": 224.551,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61169,
    "c": 0.19173,
    "h": 266.4
  },
  "luminance": 0.21887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E79F5

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

Preview Lab → · Contrast checker → · Palette generator →

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