#4D58E1#4D58E1

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

Color values

HEX#4D58E1
RGBrgb(77, 88, 225)
HSLhsl(236, 71%, 59%)
HSVhsv(236, 66%, 88%)
CMYKcmyk(65.8%, 60.9%, 0%, 11.8%)
CIE-LABlab(44.22, 38.50, -71.10)
CIE-LCHlch(44.22, 80.86, 298.43°)
OKLaboklab(53.46% 0.0131 -0.205)
OKLCHoklch(53.46% 0.205 273.7)
XYZxyz(20.1364, 13.9917, 72.8591)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58E1 #E1D64D
analogous
#4DA2E1 #4D58E1 #8C4DE1
triadic
#4D58E1 #E14D58 #58E14D
tetradic
#4D58E1 #E14DA2 #E1D64D #4DE18C
square
#4D58E1 #E14DA2 #E1D64D #4DE18C
split-complementary
#4D58E1 #E18C4D #A2E14D
monochromatic
#1A239A #232FCE #4D58E1 #8189EA #B6BAF3

Accessibility & contrast

On white

5.53
#4D58E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4D58E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58E1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58E1#FFFFFF#000000##FFFFFF
##4D58E11.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE5
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#007A94
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d58e1;
/* rgb */ color: rgb(77, 88, 225);
/* oklch */ color: oklch(53.5% 0.205 273.7);
Tailwind
colors: {
  custom: {
    50: '#8f87eb',
    500: '#4d58e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d58e1;
$custom-light: #8f87eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58e1",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 225
  },
  "hsl": {
    "h": 235.541,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.20539,
    "h": 273.7
  },
  "luminance": 0.13993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D58E1

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

Preview Lab → · Contrast checker → · Palette generator →

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