#4D58D9#4D58D9

#4D58D9 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.195 H 273.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4D58D9
RGBrgb(77, 88, 217)
HSLhsl(235, 65%, 58%)
HSVhsv(235, 65%, 85%)
CMYKcmyk(64.5%, 59.4%, 0%, 14.9%)
CIE-LABlab(43.60, 35.81, -67.56)
CIE-LCHlch(43.60, 76.46, 297.92°)
OKLaboklab(52.81% 0.0133 -0.1945)
OKLCHoklch(52.81% 0.195 273.9)
XYZxyz(19.0705, 13.5653, 67.2456)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58D9 #D9CE4D
analogous
#4D9ED9 #4D58D9 #884DD9
triadic
#4D58D9 #D94D58 #58D94D
tetradic
#4D58D9 #D94D9E #D9CE4D #4DD988
square
#4D58D9 #D94D9E #D9CE4D #4DD988
split-complementary
#4D58D9 #D9884D #9ED94D
monochromatic
#1E278D #2935C0 #4D58D9 #7F87E4 #B2B7EF

Accessibility & contrast

On white

5.66
#4D58D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4D58D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58D9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58D9#FFFFFF#000000##FFFFFF
##4D58D91.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d58d9;
/* rgb */ color: rgb(77, 88, 217);
/* oklch */ color: oklch(52.8% 0.195 273.9);
Tailwind
colors: {
  custom: {
    50: '#8e87e6',
    500: '#4d58d9',
    950: '#000000',
  },
}
SCSS
$custom: #4d58d9;
$custom-light: #8e87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58d9",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 235.286,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52807,
    "c": 0.195,
    "h": 273.9
  },
  "luminance": 0.13567
}

Semantic roles & 50–950 ramp

primary
#4D58D9
secondary
#DDD9A5
accent
#DB40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D58D9

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

Preview Lab → · Contrast checker → · Palette generator →

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