#4E68E1#4E68E1

#4E68E1 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.4% C 0.186 H 270.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4E68E1
RGBrgb(78, 104, 225)
HSLhsl(229, 71%, 59%)
HSVhsv(229, 65%, 88%)
CMYKcmyk(65.3%, 53.8%, 0%, 11.8%)
CIE-LABlab(48.20, 28.75, -64.63)
CIE-LCHlch(48.20, 70.74, 293.98°)
OKLaboklab(56.44% 0.0009 -0.1857)
OKLCHoklch(56.44% 0.186 270.3)
XYZxyz(21.6782, 16.9546, 73.3497)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E68E1 #E1C74E
analogous
#4EB1E1 #4E68E1 #7E4EE1
triadic
#4E68E1 #E14E68 #68E14E
tetradic
#4E68E1 #E14EB1 #E1C74E #4EE17E
square
#4E68E1 #E14EB1 #E1C74E #4EE17E
split-complementary
#4E68E1 #E17E4E #B1E14E
monochromatic
#1A319A #2341CF #4E68E1 #8295EA #B7C1F3

Accessibility & contrast

On white

4.78
#4E68E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4E68E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E68E1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E68E1#FFFFFF#000000##FFFFFF
##4E68E11.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A79E5
Deuteranopia (green-blind)
#006CDF
Tritanopia (blue-blind)
#00859A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e68e1;
/* rgb */ color: rgb(78, 104, 225);
/* oklch */ color: oklch(56.4% 0.186 270.3);
Tailwind
colors: {
  custom: {
    50: '#8f92eb',
    500: '#4e68e1',
    950: '#000000',
  },
}
SCSS
$custom: #4e68e1;
$custom-light: #8f92eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e68e1",
  "rgb": {
    "r": 78,
    "g": 104,
    "b": 225
  },
  "hsl": {
    "h": 229.388,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56436,
    "c": 0.18575,
    "h": 270.3
  },
  "luminance": 0.16957
}

Semantic roles & 50–950 ramp

primary
#4E68E1
secondary
#E2D8A9
accent
#CE3AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #4E68E1

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

Preview Lab → · Contrast checker → · Palette generator →

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