#4E79D5#4E79D5

#4E79D5 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.0% C 0.149 H 263.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4E79D5
RGBrgb(78, 121, 213)
HSLhsl(221, 62%, 57%)
HSVhsv(221, 63%, 84%)
CMYKcmyk(63.4%, 43.2%, 0%, 16.5%)
CIE-LABlab(51.95, 14.06, -51.82)
CIE-LCHlch(51.95, 53.69, 285.18°)
OKLaboklab(59.04% -0.0165 -0.1478)
OKLCHoklch(59.04% 0.149 263.6)
XYZxyz(21.9853, 20.0965, 65.6583)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79D5 #D5AA4E
analogous
#4EBDD5 #4E79D5 #674ED5
triadic
#4E79D5 #D54E79 #79D54E
tetradic
#4E79D5 #D54EBD #D5AA4E #4ED567
square
#4E79D5 #D54EBD #D5AA4E #4ED567
split-complementary
#4E79D5 #D5674E #BDD54E
monochromatic
#204188 #2C59BA #4E79D5 #7F9EE1 #B1C4EC

Accessibility & contrast

On white

4.18
#4E79D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4E79D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79D5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79D5#FFFFFF#000000##000000
##4E79D51.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E82D9
Deuteranopia (green-blind)
#3976D3
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e79d5;
/* rgb */ color: rgb(78, 121, 213);
/* oklch */ color: oklch(59.0% 0.149 263.6);
Tailwind
colors: {
  custom: {
    50: '#8c9fe2',
    500: '#4e79d5',
    950: '#000000',
  },
}
SCSS
$custom: #4e79d5;
$custom-light: #8c9fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79d5",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 213
  },
  "hsl": {
    "h": 220.889,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59044,
    "c": 0.14876,
    "h": 263.6
  },
  "luminance": 0.20099
}

Semantic roles & 50–950 ramp

primary
#4E79D5
secondary
#DBC9A4
accent
#B143E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E79D5

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

Preview Lab → · Contrast checker → · Palette generator →

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