#4E66E2#4E66E2

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

Color values

HEX#4E66E2
RGBrgb(78, 102, 226)
HSLhsl(230, 72%, 60%)
HSVhsv(230, 65%, 89%)
CMYKcmyk(65.5%, 54.9%, 0%, 11.4%)
CIE-LABlab(47.77, 30.34, -65.90)
CIE-LCHlch(47.77, 72.55, 294.72°)
OKLaboklab(56.13% 0.0026 -0.1895)
OKLCHoklch(56.13% 0.19 270.8)
XYZxyz(21.6161, 16.6114, 74.0039)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66E2 #E2CA4E
analogous
#4EB0E2 #4E66E2 #804EE2
triadic
#4E66E2 #E24E66 #66E24E
tetradic
#4E66E2 #E24EB0 #E2CA4E #4EE280
square
#4E66E2 #E24EB0 #E2CA4E #4EE280
split-complementary
#4E66E2 #E2804E #B0E24E
monochromatic
#1A2F9C #223ED1 #4E66E2 #8393EB #B7C1F3

Accessibility & contrast

On white

4.86
#4E66E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4E66E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66E2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66E2#FFFFFF#000000##FFFFFF
##4E66E21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e66e2;
/* rgb */ color: rgb(78, 102, 226);
/* oklch */ color: oklch(56.1% 0.190 270.8);
Tailwind
colors: {
  custom: {
    50: '#8f91ec',
    500: '#4e66e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e66e2;
$custom-light: #8f91ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66e2",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 226
  },
  "hsl": {
    "h": 230.27,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.56131,
    "c": 0.18953,
    "h": 270.8
  },
  "luminance": 0.16613
}

Semantic roles & 50–950 ramp

primary
#4E66E2
secondary
#E3D9A9
accent
#D139EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E66E2

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

Preview Lab → · Contrast checker → · Palette generator →

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