#4E66E5#4E66E5

#4E66E5 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.4% C 0.194 H 270.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4E66E5
RGBrgb(78, 102, 229)
HSLhsl(230, 74%, 60%)
HSVhsv(230, 66%, 90%)
CMYKcmyk(65.9%, 55.5%, 0%, 10.2%)
CIE-LABlab(47.98, 31.37, -67.25)
CIE-LCHlch(47.98, 74.21, 295.01°)
OKLaboklab(56.36% 0.0028 -0.1935)
OKLCHoklch(56.36% 0.194 270.8)
XYZxyz(22.0313, 16.7775, 76.1909)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66E5 #E5CD4E
analogous
#4EB1E5 #4E66E5 #824EE5
triadic
#4E66E5 #E54E66 #66E54E
tetradic
#4E66E5 #E54EB1 #E5CD4E #4EE582
square
#4E66E5 #E54EB1 #E5CD4E #4EE582
split-complementary
#4E66E5 #E5824E #B1E54E
monochromatic
#182DA1 #1F3DD6 #4E66E5 #8394ED #B9C2F5

Accessibility & contrast

On white

4.82
#4E66E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#4E66E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66E5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66E5#FFFFFF#000000##FFFFFF
##4E66E51.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e66e5;
/* rgb */ color: rgb(78, 102, 229);
/* oklch */ color: oklch(56.4% 0.194 270.8);
Tailwind
colors: {
  custom: {
    50: '#9091ee',
    500: '#4e66e5',
    950: '#000000',
  },
}
SCSS
$custom: #4e66e5;
$custom-light: #9091ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66e5",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 230.464,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56357,
    "c": 0.1935,
    "h": 270.8
  },
  "luminance": 0.1678
}

Semantic roles & 50–950 ramp

primary
#4E66E5
secondary
#E4DBAA
accent
#B70FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E66E5

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

Preview Lab → · Contrast checker → · Palette generator →

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