#4D58EA#4D58EA

#4D58EA is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.2% C 0.217 H 273.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4D58EA
RGBrgb(77, 88, 234)
HSLhsl(236, 79%, 61%)
HSVhsv(236, 67%, 92%)
CMYKcmyk(67.1%, 62.4%, 0%, 8.2%)
CIE-LABlab(44.94, 41.51, -75.03)
CIE-LCHlch(44.94, 85.75, 298.95°)
OKLaboklab(54.2% 0.0127 -0.2165)
OKLCHoklch(54.2% 0.217 273.4)
XYZxyz(21.3966, 14.4958, 79.4963)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58EA #EADF4D
analogous
#4DA6EA #4D58EA #904DEA
triadic
#4D58EA #EA4D58 #58EA4D
tetradic
#4D58EA #EA4DA6 #EADF4D #4DEA90
square
#4D58EA #EA4DA6 #EADF4D #4DEA90
split-complementary
#4D58EA #EA904D #A6EA4D
monochromatic
#141EA9 #1A28DF #4D58EA #848BF0 #BABFF7

Accessibility & contrast

On white

5.39
#4D58EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4D58EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58EA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58EA#FFFFFF#000000##FFFFFF
##4D58EA1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0063E7
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d58ea;
/* rgb */ color: rgb(77, 88, 234);
/* oklch */ color: oklch(54.2% 0.217 273.4);
Tailwind
colors: {
  custom: {
    50: '#9187f2',
    500: '#4d58ea',
    950: '#000000',
  },
}
SCSS
$custom: #4d58ea;
$custom-light: #9187f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58ea",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 235.796,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54204,
    "c": 0.21686,
    "h": 273.4
  },
  "luminance": 0.14498
}

Semantic roles & 50–950 ramp

primary
#4D58EA
secondary
#E7E3AC
accent
#CD0ADB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D58EA

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

Preview Lab → · Contrast checker → · Palette generator →

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