#4D58DC#4D58DC

#4D58DC is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.199 H 273.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4D58DC
RGBrgb(77, 88, 220)
HSLhsl(235, 67%, 58%)
HSVhsv(235, 65%, 86%)
CMYKcmyk(65%, 60%, 0%, 13.7%)
CIE-LABlab(43.83, 36.82, -68.89)
CIE-LCHlch(43.83, 78.11, 298.12°)
OKLaboklab(53.05% 0.0132 -0.1985)
OKLCHoklch(53.05% 0.199 273.8)
XYZxyz(19.4643, 13.7228, 69.3193)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58DC #DCD14D
analogous
#4D9FDC #4D58DC #8A4DDC
triadic
#4D58DC #DC4D58 #58DC4D
tetradic
#4D58DC #DC4D9F #DCD14D #4DDC8A
square
#4D58DC #DC4D9F #DCD14D #4DDC8A
split-complementary
#4D58DC #DC8A4D #9FDC4D
monochromatic
#1D2692 #2733C5 #4D58DC #8088E6 #B3B8F0

Accessibility & contrast

On white

5.61
#4D58DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4D58DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58DC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58DC#FFFFFF#000000##FFFFFF
##4D58DC1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d58dc;
/* rgb */ color: rgb(77, 88, 220);
/* oklch */ color: oklch(53.0% 0.199 273.8);
Tailwind
colors: {
  custom: {
    50: '#8e87e8',
    500: '#4d58dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d58dc;
$custom-light: #8e87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58dc",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 235.385,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.19892,
    "h": 273.8
  },
  "luminance": 0.13725
}

Semantic roles & 50–950 ramp

primary
#4D58DC
secondary
#DFDAA6
accent
#DD3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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