#4D5DCD#4D5DCD

#4D5DCD is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.173 H 272.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4D5DCD
RGBrgb(77, 93, 205)
HSLhsl(233, 56%, 55%)
HSVhsv(233, 62%, 80%)
CMYKcmyk(62.4%, 54.6%, 0%, 19.6%)
CIE-LABlab(43.96, 28.62, -60.09)
CIE-LCHlch(43.96, 66.56, 295.47°)
OKLaboklab(52.8% 0.0087 -0.1726)
OKLCHoklch(52.8% 0.173 272.9)
XYZxyz(17.9907, 13.8128, 59.4638)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5DCD #CDBD4D
analogous
#4D9DCD #4D5DCD #7D4DCD
triadic
#4D5DCD #CD4D5D #5DCD4D
tetradic
#4D5DCD #CD4D9D #CDBD4D #4DCD7D
square
#4D5DCD #CD4D9D #CDBD4D #4DCD7D
split-complementary
#4D5DCD #CD7D4D #9DCD4D
monochromatic
#232E7D #3040AC #4D5DCD #7D88DA #ADB4E8

Accessibility & contrast

On white

5.58
#4D5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4D5DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5DCD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5DCD#FFFFFF#000000##FFFFFF
##4D5DCD1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056ED1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d5dcd;
/* rgb */ color: rgb(77, 93, 205);
/* oklch */ color: oklch(52.8% 0.173 272.9);
Tailwind
colors: {
  custom: {
    50: '#8b8add',
    500: '#4d5dcd',
    950: '#000000',
  },
}
SCSS
$custom: #4d5dcd;
$custom-light: #8b8add;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5dcd",
  "rgb": {
    "r": 77,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 232.5,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52799,
    "c": 0.17278,
    "h": 272.9
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#4D5DCD
secondary
#D6CFA0
accent
#CD48DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D5DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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