#4E58E9#4E58E9

#4E58E9 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.2% C 0.215 H 273.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4E58E9
RGBrgb(78, 88, 233)
HSLhsl(236, 78%, 61%)
HSVhsv(236, 67%, 91%)
CMYKcmyk(66.5%, 62.2%, 0%, 8.6%)
CIE-LABlab(44.91, 41.31, -74.50)
CIE-LCHlch(44.91, 85.18, 299.01°)
OKLaboklab(54.18% 0.0138 -0.2149)
OKLCHoklch(54.18% 0.215 273.7)
XYZxyz(21.3347, 14.4804, 78.7457)
Luminance0.1448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58E9 #E9DF4E
analogous
#4EA5E9 #4E58E9 #914EE9
triadic
#4E58E9 #E94E58 #58E94E
tetradic
#4E58E9 #E94EA5 #E9DF4E #4EE991
square
#4E58E9 #E94EA5 #E9DF4E #4EE991
split-complementary
#4E58E9 #E9914E #A5E94E
monochromatic
#151EA8 #1C28DE #4E58E9 #848BF0 #BBBFF7

Accessibility & contrast

On white

5.39
#4E58E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4E58E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58E9
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58E9#FFFFFF#000000##FFFFFF
##4E58E91.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e58e9;
/* rgb */ color: rgb(78, 88, 233);
/* oklch */ color: oklch(54.2% 0.215 273.7);
Tailwind
colors: {
  custom: {
    50: '#9187f1',
    500: '#4e58e9',
    950: '#000000',
  },
}
SCSS
$custom: #4e58e9;
$custom-light: #9187f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58e9",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 236.129,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54179,
    "c": 0.21535,
    "h": 273.7
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#4E58E9
secondary
#E7E3AC
accent
#CD0BDA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E58E9

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

Preview Lab → · Contrast checker → · Palette generator →

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