#4D58EE#4D58EE

#4D58EE is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.5% C 0.222 H 273.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4D58EE
RGBrgb(77, 88, 238)
HSLhsl(236, 83%, 62%)
HSVhsv(236, 68%, 93%)
CMYKcmyk(67.6%, 63%, 0%, 6.7%)
CIE-LABlab(45.26, 42.84, -76.75)
CIE-LCHlch(45.26, 87.90, 299.17°)
OKLaboklab(54.54% 0.0124 -0.2215)
OKLCHoklch(54.54% 0.222 273.2)
XYZxyz(21.9777, 14.7282, 82.5569)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58EE #EEE34D
analogous
#4DA8EE #4D58EE #934DEE
triadic
#4D58EE #EE4D58 #58EE4D
tetradic
#4D58EE #EE4DA8 #EEE34D #4DEE93
square
#4D58EE #EE4DA8 #EEE34D #4DEE93
split-complementary
#4D58EE #EE934D #A8EE4D
monochromatic
#111CB0 #1624E8 #4D58EE #858CF3 #BDC1F9

Accessibility & contrast

On white

5.32
#4D58EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4D58EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58EE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58EE#FFFFFF#000000##FFFFFF
##4D58EE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#0064EB
Tritanopia (blue-blind)
#007F9B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d58ee;
/* rgb */ color: rgb(77, 88, 238);
/* oklch */ color: oklch(54.5% 0.222 273.2);
Tailwind
colors: {
  custom: {
    50: '#9287f5',
    500: '#4d58ee',
    950: '#000000',
  },
}
SCSS
$custom: #4d58ee;
$custom-light: #9287f5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58ee",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 235.901,
    "s": 82.564,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54542,
    "c": 0.22189,
    "h": 273.2
  },
  "luminance": 0.1473
}

Semantic roles & 50–950 ramp

primary
#4D58EE
secondary
#E9E5AE
accent
#D007DF
background
#F9F8FF
surface
#F2EFFF
border
#CCCAD7
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D58EE

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

Preview Lab → · Contrast checker → · Palette generator →

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