#4E58D5#4E58D5

#4E58D5 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.189 H 274.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4E58D5
RGBrgb(78, 88, 213)
HSLhsl(236, 62%, 57%)
HSVhsv(236, 63%, 84%)
CMYKcmyk(63.4%, 58.7%, 0%, 16.5%)
CIE-LABlab(43.36, 34.61, -65.66)
CIE-LCHlch(43.36, 74.22, 297.80°)
OKLaboklab(52.55% 0.0144 -0.1889)
OKLCHoklch(52.55% 0.189 274.4)
XYZxyz(18.6379, 13.4017, 64.5425)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58D5 #D5CB4E
analogous
#4E9BD5 #4E58D5 #884ED5
triadic
#4E58D5 #D54E58 #58D54E
tetradic
#4E58D5 #D54E9B #D5CB4E #4ED588
square
#4E58D5 #D54E9B #D5CB4E #4ED588
split-complementary
#4E58D5 #D5884E #9BD54E
monochromatic
#202888 #2C37BA #4E58D5 #7F87E1 #B1B5EC

Accessibility & contrast

On white

5.71
#4E58D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4E58D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58D5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58D5#FFFFFF#000000##FFFFFF
##4E58D51.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e58d5;
/* rgb */ color: rgb(78, 88, 213);
/* oklch */ color: oklch(52.6% 0.189 274.4);
Tailwind
colors: {
  custom: {
    50: '#8e87e3',
    500: '#4e58d5',
    950: '#000000',
  },
}
SCSS
$custom: #4e58d5;
$custom-light: #8e87e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58d5",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 235.556,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52551,
    "c": 0.18949,
    "h": 274.4
  },
  "luminance": 0.13403
}

Semantic roles & 50–950 ramp

primary
#4E58D5
secondary
#DBD7A4
accent
#D943E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4E58D5

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

Preview Lab → · Contrast checker → · Palette generator →

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