#4E66D5#4E66D5

#4E66D5 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.2% C 0.172 H 270.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4E66D5
RGBrgb(78, 102, 213)
HSLhsl(229, 62%, 57%)
HSVhsv(229, 63%, 84%)
CMYKcmyk(63.4%, 52.1%, 0%, 16.5%)
CIE-LABlab(46.88, 25.88, -59.96)
CIE-LCHlch(46.88, 65.31, 293.34°)
OKLaboklab(55.18% 0.0019 -0.172)
OKLCHoklch(55.18% 0.172 270.6)
XYZxyz(19.8995, 15.9248, 64.9630)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66D5 #D5BD4E
analogous
#4EAAD5 #4E66D5 #794ED5
triadic
#4E66D5 #D54E66 #66D54E
tetradic
#4E66D5 #D54EAA #D5BD4E #4ED579
square
#4E66D5 #D54EAA #D5BD4E #4ED579
split-complementary
#4E66D5 #D5794E #AAD54E
monochromatic
#203388 #2C45BA #4E66D5 #7F91E1 #B1BCEC

Accessibility & contrast

On white

5.02
#4E66D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4E66D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66D5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66D5#FFFFFF#000000##FFFFFF
##4E66D51.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2175D9
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#008094
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e66d5;
/* rgb */ color: rgb(78, 102, 213);
/* oklch */ color: oklch(55.2% 0.172 270.6);
Tailwind
colors: {
  custom: {
    50: '#8d91e3',
    500: '#4e66d5',
    950: '#000000',
  },
}
SCSS
$custom: #4e66d5;
$custom-light: #8d91e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66d5",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 213
  },
  "hsl": {
    "h": 229.333,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55178,
    "c": 0.17205,
    "h": 270.6
  },
  "luminance": 0.15927
}

Semantic roles & 50–950 ramp

primary
#4E66D5
secondary
#DBD1A4
accent
#C843E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4E66D5

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

Preview Lab → · Contrast checker → · Palette generator →

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