#4E58D8#4E58D8

#4E58D8 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.193 H 274.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4E58D8
RGBrgb(78, 88, 216)
HSLhsl(236, 64%, 58%)
HSVhsv(236, 64%, 85%)
CMYKcmyk(63.9%, 59.3%, 0%, 15.3%)
CIE-LABlab(43.59, 35.62, -67.01)
CIE-LCHlch(43.59, 75.89, 298.00°)
OKLaboklab(52.79% 0.0144 -0.1929)
OKLCHoklch(52.79% 0.193 274.3)
XYZxyz(19.0222, 13.5554, 66.5664)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58D8 #D8CE4E
analogous
#4E9DD8 #4E58D8 #894ED8
triadic
#4E58D8 #D84E58 #58D84E
tetradic
#4E58D8 #D84E9D #D8CE4E #4ED889
square
#4E58D8 #D84E9D #D8CE4E #4ED889
split-complementary
#4E58D8 #D8894E #9DD84E
monochromatic
#1F278D #2A35BF #4E58D8 #8087E3 #B2B7EE

Accessibility & contrast

On white

5.66
#4E58D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4E58D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58D8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58D8#FFFFFF#000000##FFFFFF
##4E58D81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e58d8;
/* rgb */ color: rgb(78, 88, 216);
/* oklch */ color: oklch(52.8% 0.193 274.3);
Tailwind
colors: {
  custom: {
    50: '#8e87e5',
    500: '#4e58d8',
    950: '#000000',
  },
}
SCSS
$custom: #4e58d8;
$custom-light: #8e87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58d8",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 235.652,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.19345,
    "h": 274.3
  },
  "luminance": 0.13557
}

Semantic roles & 50–950 ramp

primary
#4E58D8
secondary
#DDD9A5
accent
#DB41E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E58D8

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

Preview Lab → · Contrast checker → · Palette generator →

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