#4D58E6#4D58E6

#4D58E6 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 53.9% C 0.212 H 273.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4D58E6
RGBrgb(77, 88, 230)
HSLhsl(236, 75%, 60%)
HSVhsv(236, 67%, 90%)
CMYKcmyk(66.5%, 61.7%, 0%, 9.8%)
CIE-LABlab(44.62, 40.17, -73.29)
CIE-LCHlch(44.62, 83.58, 298.73°)
OKLaboklab(53.87% 0.0129 -0.2114)
OKLCHoklch(53.87% 0.212 273.5)
XYZxyz(20.8285, 14.2685, 76.5040)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58E6 #E6DB4D
analogous
#4DA5E6 #4D58E6 #8E4DE6
triadic
#4D58E6 #E64D58 #58E64D
tetradic
#4D58E6 #E64DA5 #E6DB4D #4DE68E
square
#4D58E6 #E64DA5 #E6DB4D #4DE68E
split-complementary
#4D58E6 #E68E4D #A5E64D
monochromatic
#1721A2 #1E2CD8 #4D58E6 #838AEE #B8BDF5

Accessibility & contrast

On white

5.45
#4D58E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4D58E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58E6
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58E6#FFFFFF#000000##FFFFFF
##4D58E61.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#007C97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d58e6;
/* rgb */ color: rgb(77, 88, 230);
/* oklch */ color: oklch(53.9% 0.212 273.5);
Tailwind
colors: {
  custom: {
    50: '#9087ef',
    500: '#4d58e6',
    950: '#000000',
  },
}
SCSS
$custom: #4d58e6;
$custom-light: #9087ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58e6",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 230
  },
  "hsl": {
    "h": 235.686,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5387,
    "c": 0.21179,
    "h": 273.5
  },
  "luminance": 0.1427
}

Semantic roles & 50–950 ramp

primary
#4D58E6
secondary
#E5E1AA
accent
#C90ED8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D58E6

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

Preview Lab → · Contrast checker → · Palette generator →

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