#4D58D7#4D58D7

#4D58D7 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.6% C 0.192 H 274.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4D58D7
RGBrgb(77, 88, 215)
HSLhsl(235, 63%, 57%)
HSVhsv(235, 64%, 84%)
CMYKcmyk(64.2%, 59.1%, 0%, 15.7%)
CIE-LABlab(43.45, 35.13, -66.66)
CIE-LCHlch(43.45, 75.35, 297.79°)
OKLaboklab(52.65% 0.0133 -0.1919)
OKLCHoklch(52.65% 0.192 274)
XYZxyz(18.8120, 13.4619, 65.8838)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58D7 #D7CC4D
analogous
#4D9DD7 #4D58D7 #874DD7
triadic
#4D58D7 #D74D58 #58D74D
tetradic
#4D58D7 #D74D9D #D7CC4D #4DD787
square
#4D58D7 #D74D9D #D7CC4D #4DD787
split-complementary
#4D58D7 #D7874D #9DD74D
monochromatic
#1F288A #2A36BC #4D58D7 #7F87E2 #B1B6ED

Accessibility & contrast

On white

5.69
#4D58D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4D58D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58D7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58D7#FFFFFF#000000##FFFFFF
##4D58D71.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d58d7;
/* rgb */ color: rgb(77, 88, 215);
/* oklch */ color: oklch(52.6% 0.192 274.0);
Tailwind
colors: {
  custom: {
    50: '#8d87e4',
    500: '#4d58d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d58d7;
$custom-light: #8d87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58d7",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 235.217,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.19238,
    "h": 274
  },
  "luminance": 0.13464
}

Semantic roles & 50–950 ramp

primary
#4D58D7
secondary
#DCD7A4
accent
#D941E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D58D7

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

Preview Lab → · Contrast checker → · Palette generator →

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