#4E79F2#4E79F2

#4E79F2 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.188 H 266.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4E79F2
RGBrgb(78, 121, 242)
HSLhsl(224, 86%, 63%)
HSVhsv(224, 68%, 95%)
CMYKcmyk(67.8%, 50%, 0%, 5.1%)
CIE-LABlab(53.71, 24.10, -65.26)
CIE-LCHlch(53.71, 69.57, 290.27°)
OKLaboklab(60.96% -0.0124 -0.1874)
OKLCHoklch(60.96% 0.188 266.2)
XYZxyz(26.0007, 21.7027, 86.8060)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79F2 #F2C74E
analogous
#4ECBF2 #4E79F2 #754EF2
triadic
#4E79F2 #F24E79 #79F24E
tetradic
#4E79F2 #F24ECB #F2C74E #4EF275
square
#4E79F2 #F24ECB #F2C74E #4EF275
split-complementary
#4E79F2 #F2754E #CBF24E
monochromatic
#0E3AB8 #154EEE #4E79F2 #87A4F6 #C0CFFA

Accessibility & contrast

On white

3.93
#4E79F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4E79F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79F2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79F2#FFFFFF#000000##000000
##4E79F21.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e79f2;
/* rgb */ color: rgb(78, 121, 242);
/* oklch */ color: oklch(61.0% 0.188 266.2);
Tailwind
colors: {
  custom: {
    50: '#919ff7',
    500: '#4e79f2',
    950: '#000000',
  },
}
SCSS
$custom: #4e79f2;
$custom-light: #919ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79f2",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 224.268,
    "s": 86.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6096,
    "c": 0.18777,
    "h": 266.2
  },
  "luminance": 0.21705
}

Semantic roles & 50–950 ramp

primary
#4E79F2
secondary
#ECDCB0
accent
#A803E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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