#4E54F3#4E54F3

#4E54F3 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.232 H 273.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4E54F3
RGBrgb(78, 84, 243)
HSLhsl(238, 87%, 63%)
HSVhsv(238, 68%, 95%)
CMYKcmyk(67.9%, 65.4%, 0%, 4.7%)
CIE-LABlab(44.84, 46.98, -80.24)
CIE-LCHlch(44.84, 92.98, 300.35°)
OKLaboklab(54.38% 0.0159 -0.2318)
OKLCHoklch(54.38% 0.232 273.9)
XYZxyz(22.4845, 14.4293, 86.3768)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54F3 #F3ED4E
analogous
#4EA7F3 #4E54F3 #9A4EF3
triadic
#4E54F3 #F34E54 #54F34E
tetradic
#4E54F3 #F34EA7 #F3ED4E #4EF39A
square
#4E54F3 #F34EA7 #F3ED4E #4EF39A
split-complementary
#4E54F3 #F39A4E #A7F34E
monochromatic
#0D13BA #151DEF #4E54F3 #878BF7 #C1C3FB

Accessibility & contrast

On white

5.40
#4E54F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4E54F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54F3
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54F3#FFFFFF#000000##FFFFFF
##4E54F31.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#0063F0
Tritanopia (blue-blind)
#007E9C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e54f3;
/* rgb */ color: rgb(78, 84, 243);
/* oklch */ color: oklch(54.4% 0.232 273.9);
Tailwind
colors: {
  custom: {
    50: '#9385f8',
    500: '#4e54f3',
    950: '#000000',
  },
}
SCSS
$custom: #4e54f3;
$custom-light: #9385f8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54f3",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 243
  },
  "hsl": {
    "h": 237.818,
    "s": 87.302,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54381,
    "c": 0.2323,
    "h": 273.9
  },
  "luminance": 0.14431
}

Semantic roles & 50–950 ramp

primary
#4E54F3
secondary
#ECEAB1
accent
#DC02E4
background
#FAF8FF
surface
#F3EFFF
border
#CDCAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #4E54F3

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

Preview Lab → · Contrast checker → · Palette generator →

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