#4E7BE4#4E7BE4

#4E7BE4 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.4% C 0.167 H 264.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4E7BE4
RGBrgb(78, 123, 228)
HSLhsl(222, 74%, 60%)
HSVhsv(222, 66%, 89%)
CMYKcmyk(65.8%, 46.1%, 0%, 10.6%)
CIE-LABlab(53.37, 18.01, -57.99)
CIE-LCHlch(53.37, 60.73, 287.25°)
OKLaboklab(60.42% -0.016 -0.166)
OKLCHoklch(60.42% 0.167 264.5)
XYZxyz(24.2235, 21.3847, 76.2348)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BE4 #E4B74E
analogous
#4EC6E4 #4E7BE4 #6C4EE4
triadic
#4E7BE4 #E44E7B #7BE44E
tetradic
#4E7BE4 #E44EC6 #E4B74E #4EE46C
square
#4E7BE4 #E44EC6 #E4B74E #4EE46C
split-complementary
#4E7BE4 #E46C4E #C6E44E
monochromatic
#18419F #2056D4 #4E7BE4 #83A3EC #B8CAF4

Accessibility & contrast

On white

3.98
#4E7BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4E7BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BE4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BE4#FFFFFF#000000##000000
##4E7BE41.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4687E8
Deuteranopia (green-blind)
#2879E2
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7be4;
/* rgb */ color: rgb(78, 123, 228);
/* oklch */ color: oklch(60.4% 0.167 264.5);
Tailwind
colors: {
  custom: {
    50: '#8ea0ed',
    500: '#4e7be4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7be4;
$custom-light: #8ea0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7be4",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 222,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.6042,
    "c": 0.16673,
    "h": 264.5
  },
  "luminance": 0.21387
}

Semantic roles & 50–950 ramp

primary
#4E7BE4
secondary
#E4D2AA
accent
#B938F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E7BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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