#4E6CE4#4E6CE4

#4E6CE4 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.4% C 0.185 H 269.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4E6CE4
RGBrgb(78, 108, 228)
HSLhsl(228, 74%, 60%)
HSVhsv(228, 66%, 89%)
CMYKcmyk(65.8%, 52.6%, 0%, 10.6%)
CIE-LABlab(49.43, 27.30, -64.34)
CIE-LCHlch(49.43, 69.89, 292.99°)
OKLaboklab(57.42% -0.0024 -0.1848)
OKLCHoklch(57.42% 0.185 269.2)
XYZxyz(22.5033, 17.9442, 75.6614)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6CE4 #E4C64E
analogous
#4EB7E4 #4E6CE4 #7B4EE4
triadic
#4E6CE4 #E44E6C #6CE44E
tetradic
#4E6CE4 #E44EB7 #E4C64E #4EE47B
square
#4E6CE4 #E44EB7 #E4C64E #4EE47B
split-complementary
#4E6CE4 #E47B4E #B7E44E
monochromatic
#18339F #2044D4 #4E6CE4 #8398EC #B8C4F4

Accessibility & contrast

On white

4.58
#4E6CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4E6CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E6CE4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6CE4#FFFFFF#000000##000000
##4E6CE41.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7DE8
Deuteranopia (green-blind)
#006FE2
Tritanopia (blue-blind)
#00889E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e6ce4;
/* rgb */ color: rgb(78, 108, 228);
/* oklch */ color: oklch(57.4% 0.185 269.2);
Tailwind
colors: {
  custom: {
    50: '#8f95ed',
    500: '#4e6ce4',
    950: '#000000',
  },
}
SCSS
$custom: #4e6ce4;
$custom-light: #8f95ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6ce4",
  "rgb": {
    "r": 78,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 228,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.57424,
    "c": 0.18486,
    "h": 269.2
  },
  "luminance": 0.17946
}

Semantic roles & 50–950 ramp

primary
#4E6CE4
secondary
#E4D8AA
accent
#CB38F0
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4E6CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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