#4E79DE#4E79DE

#4E79DE is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.6% C 0.161 H 264.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4E79DE
RGBrgb(78, 121, 222)
HSLhsl(222, 69%, 59%)
HSVhsv(222, 65%, 87%)
CMYKcmyk(64.9%, 45.5%, 0%, 12.9%)
CIE-LABlab(52.47, 17.16, -56.06)
CIE-LCHlch(52.47, 58.63, 287.02°)
OKLaboklab(59.62% -0.015 -0.1603)
OKLCHoklch(59.62% 0.161 264.7)
XYZxyz(23.1595, 20.5662, 71.8423)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79DE #DEB34E
analogous
#4EC1DE #4E79DE #6B4EDE
triadic
#4E79DE #DE4E79 #79DE4E
tetradic
#4E79DE #DE4EC1 #DEB34E #4EDE6B
square
#4E79DE #DE4EC1 #DEB34E #4EDE6B
split-complementary
#4E79DE #DE6B4E #C1DE4E
monochromatic
#1C4096 #2656C9 #4E79DE #82A0E8 #B5C7F1

Accessibility & contrast

On white

4.11
#4E79DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4E79DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79DE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79DE#FFFFFF#000000##000000
##4E79DE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4784E2
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e79de;
/* rgb */ color: rgb(78, 121, 222);
/* oklch */ color: oklch(59.6% 0.161 264.7);
Tailwind
colors: {
  custom: {
    50: '#8d9fe9',
    500: '#4e79de',
    950: '#000000',
  },
}
SCSS
$custom: #4e79de;
$custom-light: #8d9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79de",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 222
  },
  "hsl": {
    "h": 222.083,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59617,
    "c": 0.161,
    "h": 264.7
  },
  "luminance": 0.20568
}

Semantic roles & 50–950 ramp

primary
#4E79DE
secondary
#E0CFA8
accent
#B73CEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E79DE

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

Preview Lab → · Contrast checker → · Palette generator →

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