#4E66D4#4E66D4

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

Color values

HEX#4E66D4
RGBrgb(78, 102, 212)
HSLhsl(229, 61%, 57%)
HSVhsv(229, 63%, 83%)
CMYKcmyk(63.2%, 51.9%, 0%, 16.9%)
CIE-LABlab(46.81, 25.54, -59.50)
CIE-LCHlch(46.81, 64.75, 293.23°)
OKLaboklab(55.11% 0.0018 -0.1707)
OKLCHoklch(55.11% 0.171 270.6)
XYZxyz(19.7729, 15.8742, 64.2966)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66D4 #D4BC4E
analogous
#4EA9D4 #4E66D4 #794ED4
triadic
#4E66D4 #D44E66 #66D44E
tetradic
#4E66D4 #D44EA9 #D4BC4E #4ED479
square
#4E66D4 #D44EA9 #D4BC4E #4ED479
split-complementary
#4E66D4 #D4794E #A9D44E
monochromatic
#213387 #2D46B8 #4E66D4 #7F91E0 #B0BBEC

Accessibility & contrast

On white

5.03
#4E66D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4E66D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66D4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66D4#FFFFFF#000000##FFFFFF
##4E66D41.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2375D8
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#008093
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e66d4;
/* rgb */ color: rgb(78, 102, 212);
/* oklch */ color: oklch(55.1% 0.171 270.6);
Tailwind
colors: {
  custom: {
    50: '#8d91e2',
    500: '#4e66d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e66d4;
$custom-light: #8d91e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66d4",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 229.254,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55107,
    "c": 0.17069,
    "h": 270.6
  },
  "luminance": 0.15876
}

Semantic roles & 50–950 ramp

primary
#4E66D4
secondary
#DAD0A4
accent
#C744E4
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E66D4

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

Preview Lab → · Contrast checker → · Palette generator →

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