#4D58CE#4D58CE

#4D58CE is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.180 H 274.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4D58CE
RGBrgb(77, 88, 206)
HSLhsl(235, 57%, 55%)
HSVhsv(235, 63%, 81%)
CMYKcmyk(62.6%, 57.3%, 0%, 19.2%)
CIE-LABlab(42.78, 32.09, -62.58)
CIE-LCHlch(42.78, 70.33, 297.15°)
OKLaboklab(51.94% 0.0133 -0.1799)
OKLCHoklch(51.94% 0.18 274.2)
XYZxyz(17.6872, 13.0120, 59.9600)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58CE #CEC34D
analogous
#4D98CE #4D58CE #834DCE
triadic
#4D58CE #CE4D58 #58CE4D
tetradic
#4D58CE #CE4D98 #CEC34D #4DCE83
square
#4D58CE #CE4D98 #CEC34D #4DCE83
split-complementary
#4D58CE #CE834D #98CE4D
monochromatic
#232A7E #303BAE #4D58CE #7D85DB #ADB2E8

Accessibility & contrast

On white

5.83
#4D58CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4D58CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58CE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58CE#FFFFFF#000000##FFFFFF
##4D58CE1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d58ce;
/* rgb */ color: rgb(77, 88, 206);
/* oklch */ color: oklch(51.9% 0.180 274.2);
Tailwind
colors: {
  custom: {
    50: '#8c87de',
    500: '#4d58ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d58ce;
$custom-light: #8c87de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58ce",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 234.884,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5194,
    "c": 0.18043,
    "h": 274.2
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

primary
#4D58CE
secondary
#D6D2A1
accent
#D348E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D58CE

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

Preview Lab → · Contrast checker → · Palette generator →

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