#4D55D5#4D55D5

#4D55D5 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.0% C 0.193 H 274.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4D55D5
RGBrgb(77, 85, 213)
HSLhsl(236, 62%, 57%)
HSVhsv(236, 64%, 84%)
CMYKcmyk(63.8%, 60.1%, 0%, 16.5%)
CIE-LABlab(42.58, 36.31, -66.94)
CIE-LCHlch(42.58, 76.15, 298.48°)
OKLaboklab(51.95% 0.0159 -0.1928)
OKLCHoklch(51.95% 0.193 274.7)
XYZxyz(18.3154, 12.8773, 64.4583)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D55D5 #D5CD4D
analogous
#4D99D5 #4D55D5 #894DD5
triadic
#4D55D5 #D54D55 #55D54D
tetradic
#4D55D5 #D54D99 #D5CD4D #4DD589
square
#4D55D5 #D54D99 #D5CD4D #4DD589
split-complementary
#4D55D5 #D5894D #99D54D
monochromatic
#202688 #2C34B9 #4D55D5 #7F84E1 #B0B4EC

Accessibility & contrast

On white

5.87
#4D55D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4D55D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D55D5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D55D5#FFFFFF#000000##FFFFFF
##4D55D51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d55d5;
/* rgb */ color: rgb(77, 85, 213);
/* oklch */ color: oklch(52.0% 0.193 274.7);
Tailwind
colors: {
  custom: {
    50: '#8d85e3',
    500: '#4d55d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d55d5;
$custom-light: #8d85e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d55d5",
  "rgb": {
    "r": 77,
    "g": 85,
    "b": 213
  },
  "hsl": {
    "h": 236.471,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51954,
    "c": 0.19341,
    "h": 274.7
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#4D55D5
secondary
#DBD7A3
accent
#DB43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4D55D5

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

Preview Lab → · Contrast checker → · Palette generator →

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