#4E4EFF#4E4EFF

#4E4EFF is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.6% C 0.253 H 274.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4E4EFF
RGBrgb(78, 78, 255)
HSLhsl(240, 100%, 65%)
HSVhsv(240, 69%, 100%)
CMYKcmyk(69.4%, 69.4%, 0%, 0%)
CIE-LABlab(44.64, 54.25, -87.28)
CIE-LCHlch(44.64, 102.77, 301.86°)
OKLaboklab(54.56% 0.0181 -0.2523)
OKLCHoklch(54.56% 0.253 274.1)
XYZxyz(23.9103, 14.2862, 96.0858)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EFF #FFFF4E
analogous
#4EA6FF #4E4EFF #A64EFF
triadic
#4E4EFF #FF4E4E #4EFF4E
tetradic
#4E4EFF #FF4EA6 #FFFF4E #4EFFA6
square
#4E4EFF #FF4EA6 #FFFF4E #4EFFA6
split-complementary
#4E4EFF #FFA64E #A6FF4E
monochromatic
#0000D3 #1111FF #4E4EFF #8B8BFF #C8C8FF

Accessibility & contrast

On white

5.44
#4E4EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4E4EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4EFF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4EFF#FFFFFF#000000##FFFFFF
##4E4EFF1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#0061FC
Tritanopia (blue-blind)
#007FA1
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e4eff;
/* rgb */ color: rgb(78, 78, 255);
/* oklch */ color: oklch(54.6% 0.253 274.1);
Tailwind
colors: {
  custom: {
    50: '#9681ff',
    500: '#4e4eff',
    950: '#000000',
  },
}
SCSS
$custom: #4e4eff;
$custom-light: #9681ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4eff",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 240,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.54557,
    "c": 0.253,
    "h": 274.1
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#4E4EFF
secondary
#F2F2B7
accent
#E600E5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #4E4EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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