#4E40FF#4E40FF

#4E40FF is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.7% C 0.266 H 275.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4E40FF
RGBrgb(78, 64, 255)
HSLhsl(244, 100%, 63%)
HSVhsv(244, 75%, 100%)
CMYKcmyk(69.4%, 74.9%, 0%, 0%)
CIE-LABlab(42.01, 61.64, -91.63)
CIE-LCHlch(42.01, 110.43, 303.93°)
OKLaboklab(52.69% 0.0252 -0.2649)
OKLCHoklch(52.69% 0.266 275.4)
XYZxyz(23.0193, 12.5043, 95.7888)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E40FF #F1FF40
analogous
#4091FF #4E40FF #AE40FF
triadic
#4E40FF #FF4E40 #40FF4E
tetradic
#4E40FF #FF4091 #F1FF40 #40FFAE
square
#4E40FF #FF4091 #F1FF40 #40FFAE
split-complementary
#4E40FF #FFAE40 #91FF40
monochromatic
#0E00C5 #1503FF #4E40FF #877DFF #BFBAFF

Accessibility & contrast

On white

6.00
#4E40FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4E40FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E40FF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E40FF#FFFFFF#000000##FFFFFF
##4E40FF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BFF
Deuteranopia (green-blind)
#005AFC
Tritanopia (blue-blind)
#00789E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e40ff;
/* rgb */ color: rgb(78, 64, 255);
/* oklch */ color: oklch(52.7% 0.266 275.4);
Tailwind
colors: {
  custom: {
    50: '#9778ff',
    500: '#4e40ff',
    950: '#000000',
  },
}
SCSS
$custom: #4e40ff;
$custom-light: #9778ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4e40ff",
  "rgb": {
    "r": 78,
    "g": 64,
    "b": 255
  },
  "hsl": {
    "h": 244.398,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.26612,
    "h": 275.4
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#4E40FF
secondary
#EBF0AB
accent
#E600D5
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100918
muted
#7F7B86

Preview Lab

Preview with #4E40FF

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

Preview Lab → · Contrast checker → · Palette generator →

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