#4E58E3#4E58E3

#4E58E3 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.7% C 0.208 H 273.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4E58E3
RGBrgb(78, 88, 227)
HSLhsl(236, 73%, 60%)
HSVhsv(236, 66%, 89%)
CMYKcmyk(65.6%, 61.2%, 0%, 11%)
CIE-LABlab(44.44, 39.31, -71.88)
CIE-LCHlch(44.44, 81.93, 298.67°)
OKLaboklab(53.68% 0.0141 -0.2072)
OKLCHoklch(53.68% 0.208 273.9)
XYZxyz(20.4921, 14.1434, 74.3082)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58E3 #E3D94E
analogous
#4EA3E3 #4E58E3 #8E4EE3
triadic
#4E58E3 #E34E58 #58E34E
tetradic
#4E58E3 #E34EA3 #E3D94E #4EE38E
square
#4E58E3 #E34EA3 #E3D94E #4EE38E
split-complementary
#4E58E3 #E38E4E #A3E34E
monochromatic
#19229E #212DD3 #4E58E3 #838AEB #B8BCF4

Accessibility & contrast

On white

5.48
#4E58E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4E58E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58E3
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58E3#FFFFFF#000000##FFFFFF
##4E58E31.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#0062E0
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e58e3;
/* rgb */ color: rgb(78, 88, 227);
/* oklch */ color: oklch(53.7% 0.208 273.9);
Tailwind
colors: {
  custom: {
    50: '#9087ed',
    500: '#4e58e3',
    950: '#000000',
  },
}
SCSS
$custom: #4e58e3;
$custom-light: #9087ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58e3",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 227
  },
  "hsl": {
    "h": 235.973,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53681,
    "c": 0.20771,
    "h": 273.9
  },
  "luminance": 0.14145
}

Semantic roles & 50–950 ramp

primary
#4E58E3
secondary
#E3DFAA
accent
#E338EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E58E3

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

Preview Lab → · Contrast checker → · Palette generator →

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