#4E66C5#4E66C5

#4E66C5 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.1% C 0.150 H 270.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#4E66C5
RGBrgb(78, 102, 197)
HSLhsl(228, 51%, 54%)
HSVhsv(228, 60%, 77%)
CMYKcmyk(60.4%, 48.2%, 0%, 22.7%)
CIE-LABlab(45.84, 20.40, -52.45)
CIE-LCHlch(45.84, 56.28, 291.25°)
OKLaboklab(54.06% 0.0002 -0.1499)
OKLCHoklch(54.06% 0.15 270.1)
XYZxyz(17.9679, 15.1522, 54.7903)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66C5 #C5AD4E
analogous
#4EA2C5 #4E66C5 #724EC5
triadic
#4E66C5 #C54E66 #66C54E
tetradic
#4E66C5 #C54EA2 #C5AD4E #4EC572
square
#4E66C5 #C54EA2 #C5AD4E #4EC572
split-complementary
#4E66C5 #C5724E #A2C54E
monochromatic
#263573 #354BA1 #4E66C5 #7C8ED4 #AAB6E3

Accessibility & contrast

On white

5.21
#4E66C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#4E66C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66C5
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66C5#FFFFFF#000000##FFFFFF
##4E66C51.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3672C8
Deuteranopia (green-blind)
#2168C3
Tritanopia (blue-blind)
#007C8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e66c5;
/* rgb */ color: rgb(78, 102, 197);
/* oklch */ color: oklch(54.1% 0.150 270.1);
Tailwind
colors: {
  custom: {
    50: '#8a91d7',
    500: '#4e66c5',
    950: '#000000',
  },
}
SCSS
$custom: #4e66c5;
$custom-light: #8a91d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66c5",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 197
  },
  "hsl": {
    "h": 227.899,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54064,
    "c": 0.14995,
    "h": 270.1
  },
  "luminance": 0.15154
}

Semantic roles & 50–950 ramp

primary
#4E66C5
secondary
#D1C79E
accent
#BE4EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4E66C5

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

Preview Lab → · Contrast checker → · Palette generator →

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