#4E68E4#4E68E4

#4E68E4 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.7% C 0.190 H 270.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E68E4
RGBrgb(78, 104, 228)
HSLhsl(230, 74%, 60%)
HSVhsv(230, 66%, 89%)
CMYKcmyk(65.8%, 54.4%, 0%, 10.6%)
CIE-LABlab(48.41, 29.79, -65.99)
CIE-LCHlch(48.41, 72.40, 294.29°)
OKLaboklab(56.66% 0.001 -0.1897)
OKLCHoklch(56.66% 0.19 270.3)
XYZxyz(22.0910, 17.1197, 75.5240)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E68E4 #E4CA4E
analogous
#4EB3E4 #4E68E4 #7F4EE4
triadic
#4E68E4 #E44E68 #68E44E
tetradic
#4E68E4 #E44EB3 #E4CA4E #4EE47F
square
#4E68E4 #E44EB3 #E4CA4E #4EE47F
split-complementary
#4E68E4 #E47F4E #B3E44E
monochromatic
#18309F #2040D4 #4E68E4 #8395EC #B8C3F4

Accessibility & contrast

On white

4.75
#4E68E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4E68E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E68E4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E68E4#FFFFFF#000000##FFFFFF
##4E68E41.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#00869C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e68e4;
/* rgb */ color: rgb(78, 104, 228);
/* oklch */ color: oklch(56.7% 0.190 270.3);
Tailwind
colors: {
  custom: {
    50: '#8f92ed',
    500: '#4e68e4',
    950: '#000000',
  },
}
SCSS
$custom: #4e68e4;
$custom-light: #8f92ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e68e4",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 229.6,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.56658,
    "c": 0.18974,
    "h": 270.3
  },
  "luminance": 0.17122
}

Semantic roles & 50–950 ramp

primary
#4E68E4
secondary
#E4DAAA
accent
#D038F0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #4E68E4

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

Preview Lab → · Contrast checker → · Palette generator →

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