#4D58C8#4D58C8

#4D58C8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.172 H 274.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4D58C8
RGBrgb(77, 88, 200)
HSLhsl(235, 53%, 54%)
HSVhsv(235, 62%, 78%)
CMYKcmyk(61.5%, 56%, 0%, 21.6%)
CIE-LABlab(42.35, 30.06, -59.83)
CIE-LCHlch(42.35, 66.95, 296.68°)
OKLaboklab(51.48% 0.0132 -0.1718)
OKLCHoklch(51.48% 0.172 274.4)
XYZxyz(16.9722, 12.7260, 56.1944)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58C8 #C8BD4D
analogous
#4D96C8 #4D58C8 #804DC8
triadic
#4D58C8 #C84D58 #58C84D
tetradic
#4D58C8 #C84D96 #C8BD4D #4DC880
square
#4D58C8 #C84D96 #C8BD4D #4DC880
split-complementary
#4D58C8 #C8804D #96C84D
monochromatic
#242C76 #333DA5 #4D58C8 #7C84D6 #ABB0E5

Accessibility & contrast

On white

5.92
#4D58C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4D58C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58C8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58C8#FFFFFF#000000##FFFFFF
##4D58C81.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d58c8;
/* rgb */ color: rgb(77, 88, 200);
/* oklch */ color: oklch(51.5% 0.172 274.4);
Tailwind
colors: {
  custom: {
    50: '#8b87d9',
    500: '#4d58c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d58c8;
$custom-light: #8b87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58c8",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 234.634,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5148,
    "c": 0.17233,
    "h": 274.4
  },
  "luminance": 0.12727
}

Semantic roles & 50–950 ramp

primary
#4D58C8
secondary
#D2CE9E
accent
#CF4CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D58C8

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

Preview Lab → · Contrast checker → · Palette generator →

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