#4E66D8#4E66D8

#4E66D8 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.4% C 0.176 H 270.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E66D8
RGBrgb(78, 102, 216)
HSLhsl(230, 64%, 58%)
HSVhsv(230, 64%, 85%)
CMYKcmyk(63.9%, 52.8%, 0%, 15.3%)
CIE-LABlab(47.08, 26.91, -61.35)
CIE-LCHlch(47.08, 66.99, 293.68°)
OKLaboklab(55.39% 0.0021 -0.1761)
OKLCHoklch(55.39% 0.176 270.7)
XYZxyz(20.2837, 16.0785, 66.9870)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66D8 #D8C04E
analogous
#4EABD8 #4E66D8 #7B4ED8
triadic
#4E66D8 #D84E66 #66D84E
tetradic
#4E66D8 #D84EAB #D8C04E #4ED87B
square
#4E66D8 #D84EAB #D8C04E #4ED87B
split-complementary
#4E66D8 #D87B4E #ABD84E
monochromatic
#1F328D #2A44BF #4E66D8 #8091E3 #B2BDEE

Accessibility & contrast

On white

4.98
#4E66D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4E66D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66D8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66D8#FFFFFF#000000##FFFFFF
##4E66D81.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B76DC
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#008195
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e66d8;
/* rgb */ color: rgb(78, 102, 216);
/* oklch */ color: oklch(55.4% 0.176 270.7);
Tailwind
colors: {
  custom: {
    50: '#8d91e5',
    500: '#4e66d8',
    950: '#000000',
  },
}
SCSS
$custom: #4e66d8;
$custom-light: #8d91e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66d8",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 216
  },
  "hsl": {
    "h": 229.565,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.17612,
    "h": 270.7
  },
  "luminance": 0.1608
}

Semantic roles & 50–950 ramp

primary
#4E66D8
secondary
#DDD3A5
accent
#CA41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4E66D8

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

Preview Lab → · Contrast checker → · Palette generator →

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