#4E58D6#4E58D6

#4E58D6 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.6% C 0.191 H 274.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4E58D6
RGBrgb(78, 88, 214)
HSLhsl(236, 62%, 57%)
HSVhsv(236, 64%, 84%)
CMYKcmyk(63.6%, 58.9%, 0%, 16.1%)
CIE-LABlab(43.44, 34.95, -66.11)
CIE-LCHlch(43.44, 74.78, 297.86°)
OKLaboklab(52.63% 0.0144 -0.1903)
OKLCHoklch(52.63% 0.191 274.3)
XYZxyz(18.7652, 13.4526, 65.2130)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58D6 #D6CC4E
analogous
#4E9CD6 #4E58D6 #884ED6
triadic
#4E58D6 #D64E58 #58D64E
tetradic
#4E58D6 #D64E9C #D6CC4E #4ED688
square
#4E58D6 #D64E9C #D6CC4E #4ED688
split-complementary
#4E58D6 #D6884E #9CD64E
monochromatic
#20288A #2B36BB #4E58D6 #8087E2 #B1B6ED

Accessibility & contrast

On white

5.69
#4E58D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4E58D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58D6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58D6#FFFFFF#000000##FFFFFF
##4E58D61.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#0061D3
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e58d6;
/* rgb */ color: rgb(78, 88, 214);
/* oklch */ color: oklch(52.6% 0.191 274.3);
Tailwind
colors: {
  custom: {
    50: '#8e87e4',
    500: '#4e58d6',
    950: '#000000',
  },
}
SCSS
$custom: #4e58d6;
$custom-light: #8e87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58d6",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 214
  },
  "hsl": {
    "h": 235.588,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5263,
    "c": 0.19082,
    "h": 274.3
  },
  "luminance": 0.13454
}

Semantic roles & 50–950 ramp

primary
#4E58D6
secondary
#DBD7A4
accent
#D942E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E58D6

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

Preview Lab → · Contrast checker → · Palette generator →

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