#4E79F3#4E79F3

#4E79F3 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.0% C 0.189 H 266.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4E79F3
RGBrgb(78, 121, 243)
HSLhsl(224, 87%, 63%)
HSVhsv(224, 68%, 95%)
CMYKcmyk(67.9%, 50.2%, 0%, 4.7%)
CIE-LABlab(53.77, 24.45, -65.71)
CIE-LCHlch(53.77, 70.11, 290.41°)
OKLaboklab(61.03% -0.0123 -0.1887)
OKLCHoklch(61.03% 0.189 266.3)
XYZxyz(26.1513, 21.7629, 87.5991)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E79F3 #F3C84E
analogous
#4ECBF3 #4E79F3 #764EF3
triadic
#4E79F3 #F34E79 #79F34E
tetradic
#4E79F3 #F34ECB #F3C84E #4EF376
square
#4E79F3 #F34ECB #F3C84E #4EF376
split-complementary
#4E79F3 #F3764E #CBF34E
monochromatic
#0D3ABA #154EEF #4E79F3 #87A4F7 #C1D0FB

Accessibility & contrast

On white

3.92
#4E79F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#4E79F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E79F3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E79F3#FFFFFF#000000##000000
##4E79F31.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F7
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#0096AB
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e79f3;
/* rgb */ color: rgb(78, 121, 243);
/* oklch */ color: oklch(61.0% 0.189 266.3);
Tailwind
colors: {
  custom: {
    50: '#919ff8',
    500: '#4e79f3',
    950: '#000000',
  },
}
SCSS
$custom: #4e79f3;
$custom-light: #919ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e79f3",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 243
  },
  "hsl": {
    "h": 224.364,
    "s": 87.302,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61029,
    "c": 0.18909,
    "h": 266.3
  },
  "luminance": 0.21766
}

Semantic roles & 50–950 ramp

primary
#4E79F3
secondary
#ECDDB1
accent
#A902E4
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E79F3

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

Preview Lab → · Contrast checker → · Palette generator →

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