#4E79E2#4E79E2

#4E79E2 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.9% C 0.166 H 265.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4E79E2
RGBrgb(78, 121, 226)
HSLhsl(223, 72%, 60%)
HSVhsv(223, 65%, 89%)
CMYKcmyk(65.5%, 46.5%, 0%, 11.4%)
CIE-LABlab(52.71, 18.55, -57.93)
CIE-LCHlch(52.71, 60.82, 287.75°)
OKLaboklab(59.88% -0.0144 -0.1658)
OKLCHoklch(59.88% 0.166 265)
XYZxyz(23.7019, 20.7832, 74.6992)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79E2 #E2B74E
analogous
#4EC3E2 #4E79E2 #6D4EE2
triadic
#4E79E2 #E24E79 #79E24E
tetradic
#4E79E2 #E24EC3 #E2B74E #4EE26D
square
#4E79E2 #E24EC3 #E2B74E #4EE26D
split-complementary
#4E79E2 #E26D4E #C3E24E
monochromatic
#1A3F9C #2255D1 #4E79E2 #83A1EB #B7C9F3

Accessibility & contrast

On white

4.07
#4E79E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4E79E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79E2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79E2#FFFFFF#000000##000000
##4E79E21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4485E6
Deuteranopia (green-blind)
#2677E0
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e79e2;
/* rgb */ color: rgb(78, 121, 226);
/* oklch */ color: oklch(59.9% 0.166 265.0);
Tailwind
colors: {
  custom: {
    50: '#8e9fec',
    500: '#4e79e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e79e2;
$custom-light: #8e9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79e2",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 222.568,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.16641,
    "h": 265
  },
  "luminance": 0.20785
}

Semantic roles & 50–950 ramp

primary
#4E79E2
secondary
#E3D2A9
accent
#BA39EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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