#4E7FE8#4E7FE8

#4E7FE8 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.167 H 263.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4E7FE8
RGBrgb(78, 127, 232)
HSLhsl(221, 77%, 61%)
HSVhsv(221, 66%, 91%)
CMYKcmyk(66.4%, 45.3%, 0%, 9%)
CIE-LABlab(54.68, 16.94, -58.13)
CIE-LCHlch(54.68, 60.54, 286.25°)
OKLaboklab(61.5% -0.0191 -0.1663)
OKLCHoklch(61.5% 0.167 263.5)
XYZxyz(25.2916, 22.6222, 79.3619)
Luminance0.2263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FE8 #E8B74E
analogous
#4ECCE8 #4E7FE8 #6A4EE8
triadic
#4E7FE8 #E84E7F #7FE84E
tetradic
#4E7FE8 #E84ECC #E8B74E #4EE86A
square
#4E7FE8 #E84ECC #E8B74E #4EE86A
split-complementary
#4E7FE8 #E86A4E #CCE84E
monochromatic
#1644A6 #1D5ADC #4E7FE8 #84A6EF #BACDF6

Accessibility & contrast

On white

3.80
#4E7FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#4E7FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FE8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FE8#FFFFFF#000000##000000
##4E7FE81.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8AEC
Deuteranopia (green-blind)
#2D7CE6
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e7fe8;
/* rgb */ color: rgb(78, 127, 232);
/* oklch */ color: oklch(61.5% 0.167 263.5);
Tailwind
colors: {
  custom: {
    50: '#8fa3f0',
    500: '#4e7fe8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fe8;
$custom-light: #8fa3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fe8",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 220.909,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61503,
    "c": 0.16738,
    "h": 263.5
  },
  "luminance": 0.22625
}

Semantic roles & 50–950 ramp

primary
#4E7FE8
secondary
#E6D4AC
accent
#980CD9
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4E7FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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