#4D58C2#4D58C2

#4D58C2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.164 H 274.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4D58C2
RGBrgb(77, 88, 194)
HSLhsl(234, 49%, 53%)
HSVhsv(234, 60%, 76%)
CMYKcmyk(60.3%, 54.6%, 0%, 23.9%)
CIE-LABlab(41.92, 28.03, -57.03)
CIE-LCHlch(41.92, 63.55, 296.17°)
OKLaboklab(51.03% 0.013 -0.1636)
OKLCHoklch(51.03% 0.164 274.5)
XYZxyz(16.2847, 12.4510, 52.5736)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58C2 #C2B74D
analogous
#4D92C2 #4D58C2 #7C4DC2
triadic
#4D58C2 #C24D58 #58C24D
tetradic
#4D58C2 #C24D92 #C2B74D #4DC27C
square
#4D58C2 #C24D92 #C2B74D #4DC27C
split-complementary
#4D58C2 #C27C4D #92C24D
monochromatic
#262D6F #363F9C #4D58C2 #7B83D2 #A8AEE1

Accessibility & contrast

On white

6.02
#4D58C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4D58C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58C2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58C2#FFFFFF#000000##FFFFFF
##4D58C21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B68C6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d58c2;
/* rgb */ color: rgb(77, 88, 194);
/* oklch */ color: oklch(51.0% 0.164 274.5);
Tailwind
colors: {
  custom: {
    50: '#8a87d5',
    500: '#4d58c2',
    950: '#000000',
  },
}
SCSS
$custom: #4d58c2;
$custom-light: #8a87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58c2",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 194
  },
  "hsl": {
    "h": 234.359,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.16413,
    "h": 274.5
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#4D58C2
secondary
#CFCA9C
accent
#CC4FD9
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4D58C2

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

Preview Lab → · Contrast checker → · Palette generator →

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