#4E58D7#4E58D7

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

Color values

HEX#4E58D7
RGBrgb(78, 88, 215)
HSLhsl(236, 63%, 57%)
HSVhsv(236, 64%, 84%)
CMYKcmyk(63.7%, 59.1%, 0%, 15.7%)
CIE-LABlab(43.51, 35.28, -66.56)
CIE-LCHlch(43.51, 75.33, 297.93°)
OKLaboklab(52.71% 0.0144 -0.1916)
OKLCHoklch(52.71% 0.192 274.3)
XYZxyz(18.8933, 13.5038, 65.8877)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58D7 #D7CD4E
analogous
#4E9DD7 #4E58D7 #884ED7
triadic
#4E58D7 #D74E58 #58D74E
tetradic
#4E58D7 #D74E9D #D7CD4E #4ED788
square
#4E58D7 #D74E9D #D7CD4E #4ED788
split-complementary
#4E58D7 #D7884E #9DD74E
monochromatic
#1F278B #2B35BD #4E58D7 #8087E2 #B2B6EE

Accessibility & contrast

On white

5.67
#4E58D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4E58D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58D7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58D7#FFFFFF#000000##FFFFFF
##4E58D71.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e58d7;
/* rgb */ color: rgb(78, 88, 215);
/* oklch */ color: oklch(52.7% 0.192 274.3);
Tailwind
colors: {
  custom: {
    50: '#8e87e4',
    500: '#4e58d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e58d7;
$custom-light: #8e87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58d7",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 235.62,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52709,
    "c": 0.19213,
    "h": 274.3
  },
  "luminance": 0.13505
}

Semantic roles & 50–950 ramp

primary
#4E58D7
secondary
#DCD8A5
accent
#DA42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E58D7

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

Preview Lab → · Contrast checker → · Palette generator →

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