#4E58E6#4E58E6

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

Color values

HEX#4E58E6
RGBrgb(78, 88, 230)
HSLhsl(236, 75%, 60%)
HSVhsv(236, 66%, 90%)
CMYKcmyk(66.1%, 61.7%, 0%, 9.8%)
CIE-LABlab(44.67, 40.31, -73.19)
CIE-LCHlch(44.67, 83.56, 298.84°)
OKLaboklab(53.93% 0.014 -0.2111)
OKLCHoklch(53.93% 0.212 273.8)
XYZxyz(20.9098, 14.3104, 76.5078)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58E6 #E6DC4E
analogous
#4EA4E6 #4E58E6 #904EE6
triadic
#4E58E6 #E64E58 #58E64E
tetradic
#4E58E6 #E64EA4 #E6DC4E #4EE690
square
#4E58E6 #E64EA4 #E6DC4E #4EE690
split-complementary
#4E58E6 #E6904E #A4E64E
monochromatic
#1720A3 #1F2BD8 #4E58E6 #848BEE #B9BDF5

Accessibility & contrast

On white

5.44
#4E58E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4E58E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58E6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58E6#FFFFFF#000000##FFFFFF
##4E58E61.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4e58e6;
/* rgb */ color: rgb(78, 88, 230);
/* oklch */ color: oklch(53.9% 0.212 273.8);
Tailwind
colors: {
  custom: {
    50: '#9187ef',
    500: '#4e58e6',
    950: '#000000',
  },
}
SCSS
$custom: #4e58e6;
$custom-light: #9187ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58e6",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 236.053,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.21154,
    "h": 273.8
  },
  "luminance": 0.14312
}

Semantic roles & 50–950 ramp

primary
#4E58E6
secondary
#E5E1AB
accent
#CA0ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4E58E6

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

Preview Lab → · Contrast checker → · Palette generator →

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