#4E58E1#4E58E1

#4E58E1 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.5% C 0.205 H 274.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4E58E1
RGBrgb(78, 88, 225)
HSLhsl(236, 71%, 59%)
HSVhsv(236, 65%, 88%)
CMYKcmyk(65.3%, 60.9%, 0%, 11.8%)
CIE-LABlab(44.28, 38.64, -71.00)
CIE-LCHlch(44.28, 80.84, 298.55°)
OKLaboklab(53.52% 0.0142 -0.2046)
OKLCHoklch(53.52% 0.205 274)
XYZxyz(20.2177, 14.0336, 72.8629)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58E1 #E1D74E
analogous
#4EA2E1 #4E58E1 #8D4EE1
triadic
#4E58E1 #E14E58 #58E14E
tetradic
#4E58E1 #E14EA2 #E1D74E #4EE18D
square
#4E58E1 #E14EA2 #E1D74E #4EE18D
split-complementary
#4E58E1 #E18D4E #A2E14E
monochromatic
#1A239A #232FCF #4E58E1 #8289EA #B7BBF3

Accessibility & contrast

On white

5.52
#4E58E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#4E58E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58E1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58E1#FFFFFF#000000##FFFFFF
##4E58E11.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4e58e1;
/* rgb */ color: rgb(78, 88, 225);
/* oklch */ color: oklch(53.5% 0.205 274.0);
Tailwind
colors: {
  custom: {
    50: '#9087eb',
    500: '#4e58e1',
    950: '#000000',
  },
}
SCSS
$custom: #4e58e1;
$custom-light: #9087eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58e1",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 235.918,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.20514,
    "h": 274
  },
  "luminance": 0.14035
}

Semantic roles & 50–950 ramp

primary
#4E58E1
secondary
#E2DEA9
accent
#E23AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E58E1

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

Preview Lab → · Contrast checker → · Palette generator →

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