#4E7BE5#4E7BE5

#4E7BE5 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.5% C 0.168 H 264.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4E7BE5
RGBrgb(78, 123, 229)
HSLhsl(222, 74%, 60%)
HSVhsv(222, 66%, 90%)
CMYKcmyk(65.9%, 46.3%, 0%, 10.2%)
CIE-LABlab(53.43, 18.35, -58.46)
CIE-LCHlch(53.43, 61.27, 287.43°)
OKLaboklab(60.49% -0.0158 -0.1673)
OKLCHoklch(60.49% 0.168 264.6)
XYZxyz(24.3628, 21.4404, 76.9680)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BE5 #E5B84E
analogous
#4EC7E5 #4E7BE5 #6C4EE5
triadic
#4E7BE5 #E54E7B #7BE54E
tetradic
#4E7BE5 #E54EC7 #E5B84E #4EE56C
square
#4E7BE5 #E54EC7 #E5B84E #4EE56C
split-complementary
#4E7BE5 #E56C4E #C7E54E
monochromatic
#1841A1 #1F56D6 #4E7BE5 #83A3ED #B9CBF5

Accessibility & contrast

On white

3.97
#4E7BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4E7BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BE5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BE5#FFFFFF#000000##000000
##4E7BE51.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4587E9
Deuteranopia (green-blind)
#2679E3
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7be5;
/* rgb */ color: rgb(78, 123, 229);
/* oklch */ color: oklch(60.5% 0.168 264.6);
Tailwind
colors: {
  custom: {
    50: '#8fa0ee',
    500: '#4e7be5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7be5;
$custom-light: #8fa0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7be5",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 229
  },
  "hsl": {
    "h": 222.119,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60485,
    "c": 0.16807,
    "h": 264.6
  },
  "luminance": 0.21443
}

Semantic roles & 50–950 ramp

primary
#4E7BE5
secondary
#E4D3AA
accent
#9B0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E7BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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