#4D5ECC#4D5ECC

#4D5ECC is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.170 H 272.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4D5ECC
RGBrgb(77, 94, 204)
HSLhsl(232, 55%, 55%)
HSVhsv(232, 62%, 80%)
CMYKcmyk(62.3%, 53.9%, 0%, 20%)
CIE-LABlab(44.15, 27.65, -59.22)
CIE-LCHlch(44.15, 65.36, 295.03°)
OKLaboklab(52.92% 0.0077 -0.17)
OKLCHoklch(52.92% 0.17 272.6)
XYZxyz(17.9587, 13.9413, 58.8596)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5ECC #CCBB4D
analogous
#4D9DCC #4D5ECC #7C4DCC
triadic
#4D5ECC #CC4D5E #5ECC4D
tetradic
#4D5ECC #CC4D9D #CCBB4D #4DCC7C
square
#4D5ECC #CC4D9D #CCBB4D #4DCC7C
split-complementary
#4D5ECC #CC7C4D #9DCC4D
monochromatic
#232F7B #3141AB #4D5ECC #7D89DA #ACB4E7

Accessibility & contrast

On white

5.54
#4D5ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4D5ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5ECC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5ECC#FFFFFF#000000##FFFFFF
##4D5ECC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116ED0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d5ecc;
/* rgb */ color: rgb(77, 94, 204);
/* oklch */ color: oklch(52.9% 0.170 272.6);
Tailwind
colors: {
  custom: {
    50: '#8b8bdc',
    500: '#4d5ecc',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ecc;
$custom-light: #8b8bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ecc",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 231.969,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.17015,
    "h": 272.6
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#4D5ECC
secondary
#D5CEA0
accent
#CB49DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D5ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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