#4E58E2#4E58E2

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

Color values

HEX#4E58E2
RGBrgb(78, 88, 226)
HSLhsl(236, 72%, 60%)
HSVhsv(236, 65%, 89%)
CMYKcmyk(65.5%, 61.1%, 0%, 11.4%)
CIE-LABlab(44.36, 38.97, -71.44)
CIE-LCHlch(44.36, 81.38, 298.61°)
OKLaboklab(53.6% 0.0141 -0.2059)
OKLCHoklch(53.6% 0.206 273.9)
XYZxyz(20.3545, 14.0883, 73.5834)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E58E2 #E2D84E
analogous
#4EA2E2 #4E58E2 #8E4EE2
triadic
#4E58E2 #E24E58 #58E24E
tetradic
#4E58E2 #E24EA2 #E2D84E #4EE28E
square
#4E58E2 #E24EA2 #E2D84E #4EE28E
split-complementary
#4E58E2 #E28E4E #A2E24E
monochromatic
#1A229C #222ED1 #4E58E2 #838AEB #B7BBF3

Accessibility & contrast

On white

5.50
#4E58E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4E58E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E58E2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E58E2#FFFFFF#000000##FFFFFF
##4E58E21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e58e2;
/* rgb */ color: rgb(78, 88, 226);
/* oklch */ color: oklch(53.6% 0.206 273.9);
Tailwind
colors: {
  custom: {
    50: '#9087ec',
    500: '#4e58e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e58e2;
$custom-light: #9087ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e58e2",
  "rgb": {
    "r": 78,
    "g": 88,
    "b": 226
  },
  "hsl": {
    "h": 235.946,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53599,
    "c": 0.20642,
    "h": 273.9
  },
  "luminance": 0.1409
}

Semantic roles & 50–950 ramp

primary
#4E58E2
secondary
#E3DFA9
accent
#E239EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4E58E2

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

Preview Lab → · Contrast checker → · Palette generator →

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