#4D5DC5#4D5DC5

#4D5DC5 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.2% C 0.162 H 272.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4D5DC5
RGBrgb(77, 93, 197)
HSLhsl(232, 51%, 54%)
HSVhsv(232, 61%, 77%)
CMYKcmyk(60.9%, 52.8%, 0%, 22.7%)
CIE-LABlab(43.41, 25.89, -56.37)
CIE-LCHlch(43.41, 62.03, 294.67°)
OKLaboklab(52.21% 0.0083 -0.1616)
OKLCHoklch(52.21% 0.162 272.9)
XYZxyz(17.0496, 13.4363, 54.5075)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5DC5 #C5B54D
analogous
#4D99C5 #4D5DC5 #794DC5
triadic
#4D5DC5 #C54D5D #5DC54D
tetradic
#4D5DC5 #C54D99 #C5B54D #4DC579
square
#4D5DC5 #C54D99 #C5B54D #4DC579
split-complementary
#4D5DC5 #C5794D #99C54D
monochromatic
#253072 #3443A0 #4D5DC5 #7B87D4 #A9B1E3

Accessibility & contrast

On white

5.69
#4D5DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4D5DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5DC5
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5DC5#FFFFFF#000000##FFFFFF
##4D5DC51.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6CC9
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d5dc5;
/* rgb */ color: rgb(77, 93, 197);
/* oklch */ color: oklch(52.2% 0.162 272.9);
Tailwind
colors: {
  custom: {
    50: '#8a8ad7',
    500: '#4d5dc5',
    950: '#000000',
  },
}
SCSS
$custom: #4d5dc5;
$custom-light: #8a8ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5dc5",
  "rgb": {
    "r": 77,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 232,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52212,
    "c": 0.1618,
    "h": 272.9
  },
  "luminance": 0.13438
}

Semantic roles & 50–950 ramp

primary
#4D5DC5
secondary
#D1CA9D
accent
#C84DDA
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #4D5DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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