#4E79DA#4E79DA

#4E79DA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.156 H 264.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4E79DA
RGBrgb(78, 121, 218)
HSLhsl(222, 65%, 58%)
HSVhsv(222, 64%, 85%)
CMYKcmyk(64.2%, 44.5%, 0%, 14.5%)
CIE-LABlab(52.24, 15.78, -54.18)
CIE-LCHlch(52.24, 56.43, 286.24°)
OKLaboklab(59.36% -0.0156 -0.1548)
OKLCHoklch(59.36% 0.156 264.2)
XYZxyz(22.6297, 20.3543, 69.0523)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79DA #DAAF4E
analogous
#4EBFDA #4E79DA #694EDA
triadic
#4E79DA #DA4E79 #79DA4E
tetradic
#4E79DA #DA4EBF #DAAF4E #4EDA69
square
#4E79DA #DA4EBF #DAAF4E #4EDA69
split-complementary
#4E79DA #DA694E #BFDA4E
monochromatic
#1E4190 #2958C2 #4E79DA #819FE5 #B3C6EF

Accessibility & contrast

On white

4.14
#4E79DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4E79DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79DA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79DA#FFFFFF#000000##000000
##4E79DA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DE
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e79da;
/* rgb */ color: rgb(78, 121, 218);
/* oklch */ color: oklch(59.4% 0.156 264.2);
Tailwind
colors: {
  custom: {
    50: '#8d9fe6',
    500: '#4e79da',
    950: '#000000',
  },
}
SCSS
$custom: #4e79da;
$custom-light: #8d9fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79da",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 218
  },
  "hsl": {
    "h": 221.571,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.5936,
    "c": 0.15558,
    "h": 264.2
  },
  "luminance": 0.20356
}

Semantic roles & 50–950 ramp

primary
#4E79DA
secondary
#DECDA6
accent
#B43FE8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E79DA

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

Preview Lab → · Contrast checker → · Palette generator →

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