#4E66C6#4E66C6

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

Color values

HEX#4E66C6
RGBrgb(78, 102, 198)
HSLhsl(228, 51%, 54%)
HSVhsv(228, 61%, 78%)
CMYKcmyk(60.6%, 48.5%, 0%, 22.4%)
CIE-LABlab(45.90, 20.74, -52.93)
CIE-LCHlch(45.90, 56.85, 291.40°)
OKLaboklab(54.13% 0.0004 -0.1514)
OKLCHoklch(54.13% 0.151 270.1)
XYZxyz(18.0829, 15.1982, 55.3957)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E66C6 #C6AE4E
analogous
#4EA2C6 #4E66C6 #724EC6
triadic
#4E66C6 #C64E66 #66C64E
tetradic
#4E66C6 #C64EA2 #C6AE4E #4EC672
square
#4E66C6 #C64EA2 #C6AE4E #4EC672
split-complementary
#4E66C6 #C6724E #A2C64E
monochromatic
#253574 #344AA2 #4E66C6 #7C8ED5 #ABB6E4

Accessibility & contrast

On white

5.20
#4E66C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4E66C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E66C6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E66C6#FFFFFF#000000##FFFFFF
##4E66C61.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3572CA
Deuteranopia (green-blind)
#1F68C4
Tritanopia (blue-blind)
#007C8C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e66c6;
/* rgb */ color: rgb(78, 102, 198);
/* oklch */ color: oklch(54.1% 0.151 270.1);
Tailwind
colors: {
  custom: {
    50: '#8a91d8',
    500: '#4e66c6',
    950: '#000000',
  },
}
SCSS
$custom: #4e66c6;
$custom-light: #8a91d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e66c6",
  "rgb": {
    "r": 78,
    "g": 102,
    "b": 198
  },
  "hsl": {
    "h": 228,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54132,
    "c": 0.15135,
    "h": 270.1
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#4E66C6
secondary
#D1C79E
accent
#BE4DDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #4E66C6

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

Preview Lab → · Contrast checker → · Palette generator →

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