#4E7CF8#4E7CF8

#4E7CF8 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 62.0% C 0.192 H 265.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4E7CF8
RGBrgb(78, 124, 248)
HSLhsl(224, 92%, 64%)
HSVhsv(224, 69%, 97%)
CMYKcmyk(68.5%, 50%, 0%, 2.7%)
CIE-LABlab(54.88, 24.35, -66.71)
CIE-LCHlch(54.88, 71.01, 290.05°)
OKLaboklab(61.97% -0.0143 -0.1916)
OKLCHoklch(61.97% 0.192 265.7)
XYZxyz(27.2869, 22.8096, 91.7534)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CF8 #F8CA4E
analogous
#4ED1F8 #4E7CF8 #754EF8
triadic
#4E7CF8 #F84E7C #7CF84E
tetradic
#4E7CF8 #F84ED1 #F8CA4E #4EF875
square
#4E7CF8 #F84ED1 #F8CA4E #4EF875
split-complementary
#4E7CF8 #F8754E #D1F84E
monochromatic
#083BC4 #1350F6 #4E7CF8 #89A8FA #C4D3FD

Accessibility & contrast

On white

3.78
#4E7CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#4E7CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CF8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CF8#FFFFFF#000000##000000
##4E7CF81.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#328CFC
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#0099AE
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e7cf8;
/* rgb */ color: rgb(78, 124, 248);
/* oklch */ color: oklch(62.0% 0.192 265.7);
Tailwind
colors: {
  custom: {
    50: '#92a1fb',
    500: '#4e7cf8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cf8;
$custom-light: #92a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cf8",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 223.765,
    "s": 92.391,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61969,
    "c": 0.19212,
    "h": 265.7
  },
  "luminance": 0.22812
}

Semantic roles & 50–950 ramp

primary
#4E7CF8
secondary
#EFDFB3
accent
#A700E6
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E7CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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