#4E66E1#4E66E1

#4E66E1 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.1% C 0.188 H 270.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4E66E1
RGBrgb(78, 102, 225)
HSLhsl(230, 71%, 59%)
HSVhsv(230, 65%, 88%)
CMYKcmyk(65.3%, 54.7%, 0%, 11.8%)
CIE-LABlab(47.70, 30.00, -65.45)
CIE-LCHlch(47.70, 72.00, 294.62°)
OKLaboklab(56.06% 0.0026 -0.1882)
OKLCHoklch(56.06% 0.188 270.8)
XYZxyz(21.4793, 16.5567, 73.2834)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66E1 #E1C94E
analogous
#4EB0E1 #4E66E1 #804EE1
triadic
#4E66E1 #E14E66 #66E14E
tetradic
#4E66E1 #E14EB0 #E1C94E #4EE180
square
#4E66E1 #E14EB0 #E1C94E #4EE180
split-complementary
#4E66E1 #E1804E #B0E14E
monochromatic
#1A2F9A #233FCF #4E66E1 #8293EA #B7C0F3

Accessibility & contrast

On white

4.87
#4E66E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4E66E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66E1
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66E1#FFFFFF#000000##FFFFFF
##4E66E11.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#00839A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e66e1;
/* rgb */ color: rgb(78, 102, 225);
/* oklch */ color: oklch(56.1% 0.188 270.8);
Tailwind
colors: {
  custom: {
    50: '#8f91eb',
    500: '#4e66e1',
    950: '#000000',
  },
}
SCSS
$custom: #4e66e1;
$custom-light: #8f91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66e1",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 225
  },
  "hsl": {
    "h": 230.204,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56056,
    "c": 0.1882,
    "h": 270.8
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

primary
#4E66E1
secondary
#E2D9A9
accent
#D03AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E66E1

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

Preview Lab → · Contrast checker → · Palette generator →

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