#4E66D1#4E66D1

#4E66D1 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.9% C 0.167 H 270.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4E66D1
RGBrgb(78, 102, 209)
HSLhsl(229, 59%, 56%)
HSVhsv(229, 63%, 82%)
CMYKcmyk(62.7%, 51.2%, 0%, 18%)
CIE-LABlab(46.61, 24.51, -58.11)
CIE-LCHlch(46.61, 63.06, 292.87°)
OKLaboklab(54.89% 0.0015 -0.1666)
OKLCHoklch(54.89% 0.167 270.5)
XYZxyz(19.3980, 15.7242, 62.3221)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66D1 #D1B94E
analogous
#4EA8D1 #4E66D1 #784ED1
triadic
#4E66D1 #D14E66 #66D14E
tetradic
#4E66D1 #D14EA8 #D1B94E #4ED178
square
#4E66D1 #D14EA8 #D1B94E #4ED178
split-complementary
#4E66D1 #D1784E #A8D14E
monochromatic
#223483 #2F47B3 #4E66D1 #7F90DE #AFBAEA

Accessibility & contrast

On white

5.07
#4E66D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#4E66D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66D1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66D1#FFFFFF#000000##FFFFFF
##4E66D11.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2875D5
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e66d1;
/* rgb */ color: rgb(78, 102, 209);
/* oklch */ color: oklch(54.9% 0.167 270.5);
Tailwind
colors: {
  custom: {
    50: '#8c91e0',
    500: '#4e66d1',
    950: '#000000',
  },
}
SCSS
$custom: #4e66d1;
$custom-light: #8c91e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66d1",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 209
  },
  "hsl": {
    "h": 229.008,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54893,
    "c": 0.16659,
    "h": 270.5
  },
  "luminance": 0.15726
}

Semantic roles & 50–950 ramp

primary
#4E66D1
secondary
#D8CEA2
accent
#C546E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4E66D1

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

Preview Lab → · Contrast checker → · Palette generator →

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