#4D5BC7#4D5BC7

#4D5BC7 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.0% C 0.167 H 273.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4D5BC7
RGBrgb(77, 91, 199)
HSLhsl(233, 52%, 54%)
HSVhsv(233, 61%, 78%)
CMYKcmyk(61.3%, 54.3%, 0%, 22%)
CIE-LABlab(43.04, 27.84, -58.13)
CIE-LCHlch(43.04, 64.45, 295.59°)
OKLaboklab(51.97% 0.0103 -0.1668)
OKLCHoklch(51.97% 0.167 273.5)
XYZxyz(17.1071, 13.1821, 55.6647)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5BC7 #C7B94D
analogous
#4D98C7 #4D5BC7 #7C4DC7
triadic
#4D5BC7 #C74D5B #5BC74D
tetradic
#4D5BC7 #C74D98 #C7B94D #4DC77C
square
#4D5BC7 #C74D98 #C7B94D #4DC77C
split-complementary
#4D5BC7 #C77C4D #98C74D
monochromatic
#252E75 #3340A3 #4D5BC7 #7C86D6 #AAB1E4

Accessibility & contrast

On white

5.77
#4D5BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4D5BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5BC7
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5BC7#FFFFFF#000000##FFFFFF
##4D5BC71.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6BCB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d5bc7;
/* rgb */ color: rgb(77, 91, 199);
/* oklch */ color: oklch(52.0% 0.167 273.5);
Tailwind
colors: {
  custom: {
    50: '#8a89d9',
    500: '#4d5bc7',
    950: '#000000',
  },
}
SCSS
$custom: #4d5bc7;
$custom-light: #8a89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5bc7",
  "rgb": {
    "r": 77,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 233.115,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51972,
    "c": 0.16713,
    "h": 273.5
  },
  "luminance": 0.13183
}

Semantic roles & 50–950 ramp

primary
#4D5BC7
secondary
#D2CC9E
accent
#CB4CDC
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D5BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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