#4E5FE1#4E5FE1

#4E5FE1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.8% C 0.197 H 272.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4E5FE1
RGBrgb(78, 95, 225)
HSLhsl(233, 71%, 59%)
HSVhsv(233, 65%, 88%)
CMYKcmyk(65.3%, 57.8%, 0%, 11.8%)
CIE-LABlab(45.96, 34.34, -68.27)
CIE-LCHlch(45.96, 76.42, 296.70°)
OKLaboklab(54.76% 0.0085 -0.1966)
OKLCHoklch(54.76% 0.197 272.5)
XYZxyz(20.8202, 15.2385, 73.0637)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FE1 #E1D04E
analogous
#4EA9E1 #4E5FE1 #874EE1
triadic
#4E5FE1 #E14E5F #5FE14E
tetradic
#4E5FE1 #E14EA9 #E1D04E #4EE187
square
#4E5FE1 #E14EA9 #E1D04E #4EE187
split-complementary
#4E5FE1 #E1874E #A9E14E
monochromatic
#1A299A #2337CF #4E5FE1 #828EEA #B7BEF3

Accessibility & contrast

On white

5.19
#4E5FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4E5FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FE1
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FE1#FFFFFF#000000##FFFFFF
##4E5FE11.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4e5fe1;
/* rgb */ color: rgb(78, 95, 225);
/* oklch */ color: oklch(54.8% 0.197 272.5);
Tailwind
colors: {
  custom: {
    50: '#8f8ceb',
    500: '#4e5fe1',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fe1;
$custom-light: #8f8ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fe1",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 233.061,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54759,
    "c": 0.19674,
    "h": 272.5
  },
  "luminance": 0.1524
}

Semantic roles & 50–950 ramp

primary
#4E5FE1
secondary
#E2DBA9
accent
#D93AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E5FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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