#4E79D9#4E79D9

#4E79D9 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.154 H 264.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4E79D9
RGBrgb(78, 121, 217)
HSLhsl(221, 65%, 58%)
HSVhsv(221, 64%, 85%)
CMYKcmyk(64.1%, 44.2%, 0%, 14.9%)
CIE-LABlab(52.18, 15.43, -53.71)
CIE-LCHlch(52.18, 55.89, 286.03°)
OKLaboklab(59.3% -0.0158 -0.1534)
OKLCHoklch(59.3% 0.154 264.1)
XYZxyz(22.4993, 20.3021, 68.3652)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79D9 #D9AE4E
analogous
#4EBED9 #4E79D9 #684ED9
triadic
#4E79D9 #D94E79 #79D94E
tetradic
#4E79D9 #D94EBE #D9AE4E #4ED968
square
#4E79D9 #D94EBE #D9AE4E #4ED968
split-complementary
#4E79D9 #D9684E #BED94E
monochromatic
#1F418E #2958C0 #4E79D9 #809FE4 #B3C5EF

Accessibility & contrast

On white

4.15
#4E79D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4E79D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79D9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79D9#FFFFFF#000000##000000
##4E79D91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DD
Deuteranopia (green-blind)
#3477D7
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e79d9;
/* rgb */ color: rgb(78, 121, 217);
/* oklch */ color: oklch(59.3% 0.154 264.1);
Tailwind
colors: {
  custom: {
    50: '#8d9fe5',
    500: '#4e79d9',
    950: '#000000',
  },
}
SCSS
$custom: #4e79d9;
$custom-light: #8d9fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79d9",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 221.439,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.15421,
    "h": 264.1
  },
  "luminance": 0.20304
}

Semantic roles & 50–950 ramp

primary
#4E79D9
secondary
#DDCCA6
accent
#B440E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E79D9

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

Preview Lab → · Contrast checker → · Palette generator →

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