#4D58D8#4D58D8

#4D58D8 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.194 H 273.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4D58D8
RGBrgb(77, 88, 216)
HSLhsl(235, 64%, 57%)
HSVhsv(235, 64%, 85%)
CMYKcmyk(64.4%, 59.3%, 0%, 15.3%)
CIE-LABlab(43.53, 35.47, -67.11)
CIE-LCHlch(43.53, 75.90, 297.86°)
OKLaboklab(52.73% 0.0133 -0.1932)
OKLCHoklch(52.73% 0.194 273.9)
XYZxyz(18.9409, 13.5135, 66.5626)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58D8 #D8CD4D
analogous
#4D9DD8 #4D58D8 #884DD8
triadic
#4D58D8 #D84D58 #58D84D
tetradic
#4D58D8 #D84D9D #D8CD4D #4DD888
square
#4D58D8 #D84D9D #D8CD4D #4DD888
split-complementary
#4D58D8 #D8884D #9DD84D
monochromatic
#1F278C #2A35BE #4D58D8 #7F87E3 #B1B6EE

Accessibility & contrast

On white

5.67
#4D58D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4D58D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58D8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58D8#FFFFFF#000000##FFFFFF
##4D58D81.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d58d8;
/* rgb */ color: rgb(77, 88, 216);
/* oklch */ color: oklch(52.7% 0.194 273.9);
Tailwind
colors: {
  custom: {
    50: '#8e87e5',
    500: '#4d58d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d58d8;
$custom-light: #8e87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58d8",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 235.252,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52727,
    "c": 0.19369,
    "h": 273.9
  },
  "luminance": 0.13515
}

Semantic roles & 50–950 ramp

primary
#4D58D8
secondary
#DCD8A4
accent
#DA41E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D58D8

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

Preview Lab → · Contrast checker → · Palette generator →

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