#4E7FE4#4E7FE4

#4E7FE4 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.2% C 0.162 H 263.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4E7FE4
RGBrgb(78, 127, 228)
HSLhsl(220, 74%, 60%)
HSVhsv(220, 66%, 89%)
CMYKcmyk(65.8%, 44.3%, 0%, 10.6%)
CIE-LABlab(54.45, 15.55, -56.27)
CIE-LCHlch(54.45, 58.38, 285.45°)
OKLaboklab(61.25% -0.0197 -0.1608)
OKLCHoklch(61.25% 0.162 263)
XYZxyz(24.7299, 22.3975, 76.4036)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FE4 #E4B34E
analogous
#4ECAE4 #4E7FE4 #684EE4
triadic
#4E7FE4 #E44E7F #7FE44E
tetradic
#4E7FE4 #E44ECA #E4B34E #4EE468
square
#4E7FE4 #E44ECA #E4B34E #4EE468
split-complementary
#4E7FE4 #E4684E #CAE44E
monochromatic
#18449F #205BD4 #4E7FE4 #83A5EC #B8CCF4

Accessibility & contrast

On white

3.83
#4E7FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#4E7FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FE4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FE4#FFFFFF#000000##000000
##4E7FE41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8AE8
Deuteranopia (green-blind)
#347CE2
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e7fe4;
/* rgb */ color: rgb(78, 127, 228);
/* oklch */ color: oklch(61.2% 0.162 263.0);
Tailwind
colors: {
  custom: {
    50: '#8ea3ed',
    500: '#4e7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fe4;
$custom-light: #8ea3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fe4",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 220.4,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.61247,
    "c": 0.16202,
    "h": 263
  },
  "luminance": 0.224
}

Semantic roles & 50–950 ramp

primary
#4E7FE4
secondary
#E4D1AA
accent
#B438F0
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4E7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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