#4E66C4#4E66C4

#4E66C4 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.0% C 0.149 H 270.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E66C4
RGBrgb(78, 102, 196)
HSLhsl(228, 50%, 54%)
HSVhsv(228, 60%, 77%)
CMYKcmyk(60.2%, 48%, 0%, 23.1%)
CIE-LABlab(45.78, 20.06, -51.98)
CIE-LCHlch(45.78, 55.71, 291.10°)
OKLaboklab(54% 0.0001 -0.1485)
OKLCHoklch(54% 0.149 270)
XYZxyz(17.8537, 15.1065, 54.1888)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66C4 #C4AC4E
analogous
#4EA1C4 #4E66C4 #714EC4
triadic
#4E66C4 #C44E66 #66C44E
tetradic
#4E66C4 #C44EA1 #C4AC4E #4EC471
square
#4E66C4 #C44EA1 #C4AC4E #4EC471
split-complementary
#4E66C4 #C4714E #A1C44E
monochromatic
#263572 #354BA0 #4E66C4 #7C8ED3 #AAB5E3

Accessibility & contrast

On white

5.22
#4E66C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4E66C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66C4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66C4#FFFFFF#000000##FFFFFF
##4E66C41.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3772C7
Deuteranopia (green-blind)
#2367C2
Tritanopia (blue-blind)
#007B8B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e66c4;
/* rgb */ color: rgb(78, 102, 196);
/* oklch */ color: oklch(54.0% 0.149 270.0);
Tailwind
colors: {
  custom: {
    50: '#8a91d6',
    500: '#4e66c4',
    950: '#000000',
  },
}
SCSS
$custom: #4e66c4;
$custom-light: #8a91d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66c4",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 196
  },
  "hsl": {
    "h": 227.797,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53997,
    "c": 0.14855,
    "h": 270
  },
  "luminance": 0.15108
}

Semantic roles & 50–950 ramp

primary
#4E66C4
secondary
#D0C69E
accent
#BD4EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4E66C4

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

Preview Lab → · Contrast checker → · Palette generator →

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