#4D58EC#4D58EC

#4D58EC is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.4% C 0.219 H 273.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4D58EC
RGBrgb(77, 88, 236)
HSLhsl(236, 81%, 61%)
HSVhsv(236, 67%, 93%)
CMYKcmyk(67.4%, 62.7%, 0%, 7.5%)
CIE-LABlab(45.10, 42.18, -75.89)
CIE-LCHlch(45.10, 86.82, 299.06°)
OKLaboklab(54.37% 0.0126 -0.219)
OKLCHoklch(54.37% 0.219 273.3)
XYZxyz(21.6856, 14.6113, 81.0181)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58EC #ECE14D
analogous
#4DA8EC #4D58EC #924DEC
triadic
#4D58EC #EC4D58 #58EC4D
tetradic
#4D58EC #EC4DA8 #ECE14D #4DEC92
square
#4D58EC #EC4DA8 #ECE14D #4DEC92
split-complementary
#4D58EC #EC924D #A8EC4D
monochromatic
#121DAC #1826E4 #4D58EC #848CF2 #BCC0F8

Accessibility & contrast

On white

5.35
#4D58EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4D58EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58EC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58EC#FFFFFF#000000##FFFFFF
##4D58EC1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d58ec;
/* rgb */ color: rgb(77, 88, 236);
/* oklch */ color: oklch(54.4% 0.219 273.3);
Tailwind
colors: {
  custom: {
    50: '#9187f3',
    500: '#4d58ec',
    950: '#000000',
  },
}
SCSS
$custom: #4d58ec;
$custom-light: #9187f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58ec",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 235.849,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54373,
    "c": 0.21938,
    "h": 273.3
  },
  "luminance": 0.14613
}

Semantic roles & 50–950 ramp

primary
#4D58EC
secondary
#E8E4AD
accent
#CE08DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D58EC

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

Preview Lab → · Contrast checker → · Palette generator →

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