#4E58E5#4E58E5

#4E58E5 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 53.8% C 0.210 H 273.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4E58E5
RGBrgb(78, 88, 229)
HSLhsl(236, 74%, 60%)
HSVhsv(236, 66%, 90%)
CMYKcmyk(65.9%, 61.6%, 0%, 10.2%)
CIE-LABlab(44.60, 39.97, -72.76)
CIE-LCHlch(44.60, 83.02, 298.79°)
OKLaboklab(53.85% 0.014 -0.2098)
OKLCHoklch(53.85% 0.21 273.8)
XYZxyz(20.7698, 14.2544, 75.7704)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58E5 #E5DB4E
analogous
#4EA4E5 #4E58E5 #8F4EE5
triadic
#4E58E5 #E54E58 #58E54E
tetradic
#4E58E5 #E54EA4 #E5DB4E #4EE58F
square
#4E58E5 #E54EA4 #E5DB4E #4EE58F
split-complementary
#4E58E5 #E58F4E #A4E54E
monochromatic
#1821A1 #1F2CD6 #4E58E5 #838AED #B9BDF5

Accessibility & contrast

On white

5.45
#4E58E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4E58E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58E5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58E5#FFFFFF#000000##FFFFFF
##4E58E51.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e58e5;
/* rgb */ color: rgb(78, 88, 229);
/* oklch */ color: oklch(53.8% 0.210 273.8);
Tailwind
colors: {
  custom: {
    50: '#9087ee',
    500: '#4e58e5',
    950: '#000000',
  },
}
SCSS
$custom: #4e58e5;
$custom-light: #9087ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58e5",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 229
  },
  "hsl": {
    "h": 236.026,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53846,
    "c": 0.21027,
    "h": 273.8
  },
  "luminance": 0.14256
}

Semantic roles & 50–950 ramp

primary
#4E58E5
secondary
#E4E1AA
accent
#C90FD7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E58E5

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

Preview Lab → · Contrast checker → · Palette generator →

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