#4E79EC#4E79EC

#4E79EC is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.5% C 0.180 H 265.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E79EC
RGBrgb(78, 121, 236)
HSLhsl(224, 81%, 62%)
HSVhsv(224, 67%, 93%)
CMYKcmyk(66.9%, 48.7%, 0%, 7.5%)
CIE-LABlab(53.33, 22.02, -62.53)
CIE-LCHlch(53.33, 66.30, 289.40°)
OKLaboklab(60.55% -0.0131 -0.1793)
OKLCHoklch(60.55% 0.18 265.8)
XYZxyz(25.1143, 21.3481, 82.1377)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79EC #ECC14E
analogous
#4EC8EC #4E79EC #724EEC
triadic
#4E79EC #EC4E79 #79EC4E
tetradic
#4E79EC #EC4EC8 #ECC14E #4EEC72
square
#4E79EC #EC4EC8 #ECC14E #4EEC72
split-complementary
#4E79EC #EC724E #C8EC4E
monochromatic
#133DAD #1950E4 #4E79EC #85A3F2 #BDCDF8

Accessibility & contrast

On white

3.98
#4E79EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4E79EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79EC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79EC#FFFFFF#000000##000000
##4E79EC1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3987F0
Deuteranopia (green-blind)
#0479EA
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e79ec;
/* rgb */ color: rgb(78, 121, 236);
/* oklch */ color: oklch(60.5% 0.180 265.8);
Tailwind
colors: {
  custom: {
    50: '#909ff3',
    500: '#4e79ec',
    950: '#000000',
  },
}
SCSS
$custom: #4e79ec;
$custom-light: #909ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79ec",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 236
  },
  "hsl": {
    "h": 223.671,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60547,
    "c": 0.17982,
    "h": 265.8
  },
  "luminance": 0.21351
}

Semantic roles & 50–950 ramp

primary
#4E79EC
secondary
#E8D8AE
accent
#A309DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E79EC

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

Preview Lab → · Contrast checker → · Palette generator →

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