#4E66D6#4E66D6

#4E66D6 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.3% C 0.173 H 270.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4E66D6
RGBrgb(78, 102, 214)
HSLhsl(229, 62%, 57%)
HSVhsv(229, 64%, 84%)
CMYKcmyk(63.6%, 52.3%, 0%, 16.1%)
CIE-LABlab(46.94, 26.22, -60.43)
CIE-LCHlch(46.94, 65.87, 293.46°)
OKLaboklab(55.25% 0.0019 -0.1734)
OKLCHoklch(55.25% 0.173 270.6)
XYZxyz(20.0268, 15.9757, 65.6335)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66D6 #D6BE4E
analogous
#4EAAD6 #4E66D6 #7A4ED6
triadic
#4E66D6 #D64E66 #66D64E
tetradic
#4E66D6 #D64EAA #D6BE4E #4ED67A
square
#4E66D6 #D64EAA #D6BE4E #4ED67A
split-complementary
#4E66D6 #D67A4E #AAD64E
monochromatic
#20338A #2B45BB #4E66D6 #8091E2 #B1BCED

Accessibility & contrast

On white

5.01
#4E66D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4E66D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66D6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66D6#FFFFFF#000000##FFFFFF
##4E66D61.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F76DA
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e66d6;
/* rgb */ color: rgb(78, 102, 214);
/* oklch */ color: oklch(55.3% 0.173 270.6);
Tailwind
colors: {
  custom: {
    50: '#8d91e3',
    500: '#4e66d6',
    950: '#000000',
  },
}
SCSS
$custom: #4e66d6;
$custom-light: #8d91e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66d6",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 214
  },
  "hsl": {
    "h": 229.412,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5525,
    "c": 0.17341,
    "h": 270.6
  },
  "luminance": 0.15977
}

Semantic roles & 50–950 ramp

primary
#4E66D6
secondary
#DBD2A4
accent
#C942E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4E66D6

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

Preview Lab → · Contrast checker → · Palette generator →

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