#4E54FF#4E54FF

#4E54FF is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.4% C 0.247 H 273.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4E54FF
RGBrgb(78, 84, 255)
HSLhsl(238, 100%, 65%)
HSVhsv(238, 69%, 100%)
CMYKcmyk(69.4%, 67.1%, 0%, 0%)
CIE-LABlab(45.88, 50.87, -85.25)
CIE-LCHlch(45.88, 99.28, 300.83°)
OKLaboklab(55.45% 0.0147 -0.2464)
OKLCHoklch(55.45% 0.247 273.4)
XYZxyz(24.3562, 15.1780, 96.2344)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54FF #FFF94E
analogous
#4EADFF #4E54FF #A04EFF
triadic
#4E54FF #FF4E54 #54FF4E
tetradic
#4E54FF #FF4EAD #FFF94E #4EFFA0
square
#4E54FF #FF4EAD #FFF94E #4EFFA0
split-complementary
#4E54FF #FFA04E #ADFF4E
monochromatic
#0007D3 #1119FF #4E54FF #8B8FFF #C8CAFF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E54FF#FFFFFF#000000##FFFFFF
##4E54FF1.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)
#0075FF
Deuteranopia (green-blind)
#0064FC
Tritanopia (blue-blind)
#0082A3
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e54ff;
/* rgb */ color: rgb(78, 84, 255);
/* oklch */ color: oklch(55.4% 0.247 273.4);
Tailwind
colors: {
  custom: {
    50: '#9685ff',
    500: '#4e54ff',
    950: '#000000',
  },
}
SCSS
$custom: #4e54ff;
$custom-light: #9685ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54ff",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 237.966,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.55447,
    "c": 0.24685,
    "h": 273.4
  },
  "luminance": 0.1518
}

Semantic roles & 50–950 ramp

primary
#4E54FF
secondary
#F2F0B7
accent
#DE00E6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #4E54FF

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

Preview Lab → · Contrast checker → · Palette generator →

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