#4E42FF#4E42FF

#4E42FF is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.9% C 0.264 H 275.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4E42FF
RGBrgb(78, 66, 255)
HSLhsl(244, 100%, 63%)
HSVhsv(244, 74%, 100%)
CMYKcmyk(69.4%, 74.1%, 0%, 0%)
CIE-LABlab(42.36, 60.63, -91.04)
CIE-LCHlch(42.36, 109.39, 303.66°)
OKLaboklab(52.93% 0.0242 -0.2632)
OKLCHoklch(52.93% 0.264 275.3)
XYZxyz(23.1341, 12.7339, 95.8271)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E42FF #F3FF42
analogous
#4294FF #4E42FF #AD42FF
triadic
#4E42FF #FF4E42 #42FF4E
tetradic
#4E42FF #FF4294 #F3FF42 #42FFAD
square
#4E42FF #FF4294 #F3FF42 #42FFAD
split-complementary
#4E42FF #FFAD42 #94FF42
monochromatic
#0D00C7 #1505FF #4E42FF #877FFF #C1BCFF

Accessibility & contrast

On white

5.92
#4E42FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4E42FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E42FF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E42FF#FFFFFF#000000##FFFFFF
##4E42FF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CFF
Deuteranopia (green-blind)
#005BFC
Tritanopia (blue-blind)
#00799E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4e42ff;
/* rgb */ color: rgb(78, 66, 255);
/* oklch */ color: oklch(52.9% 0.264 275.3);
Tailwind
colors: {
  custom: {
    50: '#9779ff',
    500: '#4e42ff',
    950: '#000000',
  },
}
SCSS
$custom: #4e42ff;
$custom-light: #9779ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4e42ff",
  "rgb": {
    "r": 78,
    "g": 66,
    "b": 255
  },
  "hsl": {
    "h": 243.81,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.52934,
    "c": 0.26436,
    "h": 275.3
  },
  "luminance": 0.12736
}

Semantic roles & 50–950 ramp

primary
#4E42FF
secondary
#ECF0AC
accent
#E600D7
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100918
muted
#7F7B86

Preview Lab

Preview with #4E42FF

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

Preview Lab → · Contrast checker → · Palette generator →

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