#4E68D2#4E68D2

#4E68D2 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.4% C 0.165 H 269.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4E68D2
RGBrgb(78, 104, 210)
HSLhsl(228, 59%, 56%)
HSVhsv(228, 63%, 82%)
CMYKcmyk(62.9%, 50.5%, 0%, 17.6%)
CIE-LABlab(47.20, 23.60, -57.73)
CIE-LCHlch(47.20, 62.37, 292.23°)
OKLaboklab(55.36% -0.0003 -0.1655)
OKLCHoklch(55.36% 0.165 269.9)
XYZxyz(19.7211, 16.1718, 63.0425)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E68D2 #D2B84E
analogous
#4EAAD2 #4E68D2 #764ED2
triadic
#4E68D2 #D24E68 #68D24E
tetradic
#4E68D2 #D24EAA #D2B84E #4ED276
square
#4E68D2 #D24EAA #D2B84E #4ED276
split-complementary
#4E68D2 #D2764E #AAD24E
monochromatic
#223584 #2E49B5 #4E68D2 #7F92DE #B0BBEB

Accessibility & contrast

On white

4.96
#4E68D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4E68D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E68D2
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E68D2#FFFFFF#000000##FFFFFF
##4E68D21.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C76D6
Deuteranopia (green-blind)
#016AD0
Tritanopia (blue-blind)
#008193
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e68d2;
/* rgb */ color: rgb(78, 104, 210);
/* oklch */ color: oklch(55.4% 0.165 269.9);
Tailwind
colors: {
  custom: {
    50: '#8c92e0',
    500: '#4e68d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e68d2;
$custom-light: #8c92e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e68d2",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 210
  },
  "hsl": {
    "h": 228.182,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5536,
    "c": 0.16545,
    "h": 269.9
  },
  "luminance": 0.16173
}

Semantic roles & 50–950 ramp

primary
#4E68D2
secondary
#D9CEA3
accent
#C445E3
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0D15
muted
#7E7D83

Preview Lab

Preview with #4E68D2

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

Preview Lab → · Contrast checker → · Palette generator →

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