#4D58E2#4D58E2

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

Color values

HEX#4D58E2
RGBrgb(77, 88, 226)
HSLhsl(236, 72%, 59%)
HSVhsv(236, 66%, 89%)
CMYKcmyk(65.9%, 61.1%, 0%, 11.4%)
CIE-LABlab(44.30, 38.83, -71.54)
CIE-LCHlch(44.30, 81.40, 298.49°)
OKLaboklab(53.54% 0.013 -0.2063)
OKLCHoklch(53.54% 0.207 273.6)
XYZxyz(20.2732, 14.0464, 73.5796)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58E2 #E2D74D
analogous
#4DA3E2 #4D58E2 #8C4DE2
triadic
#4D58E2 #E24D58 #58E24D
tetradic
#4D58E2 #E24DA3 #E2D74D #4DE28C
square
#4D58E2 #E24DA3 #E2D74D #4DE28C
split-complementary
#4D58E2 #E28C4D #A3E24D
monochromatic
#19239B #222FD0 #4D58E2 #8289EB #B6BBF3

Accessibility & contrast

On white

5.51
#4D58E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D58E2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58E2#FFFFFF#000000##FFFFFF
##4D58E21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.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: #4d58e2;
/* rgb */ color: rgb(77, 88, 226);
/* oklch */ color: oklch(53.5% 0.207 273.6);
Tailwind
colors: {
  custom: {
    50: '#8f87ec',
    500: '#4d58e2',
    950: '#000000',
  },
}
SCSS
$custom: #4d58e2;
$custom-light: #8f87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58e2",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 226
  },
  "hsl": {
    "h": 235.57,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53539,
    "c": 0.20667,
    "h": 273.6
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

primary
#4D58E2
secondary
#E2DEA8
accent
#E139EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D58E2

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

Preview Lab → · Contrast checker → · Palette generator →

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