#4D5FC7#4D5FC7

#4D5FC7 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.7% C 0.162 H 272.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4D5FC7
RGBrgb(77, 95, 199)
HSLhsl(231, 52%, 54%)
HSVhsv(231, 61%, 78%)
CMYKcmyk(61.3%, 52.3%, 0%, 22%)
CIE-LABlab(44.07, 25.31, -56.47)
CIE-LCHlch(44.07, 61.88, 294.15°)
OKLaboklab(52.75% 0.0064 -0.1619)
OKLCHoklch(52.75% 0.162 272.3)
XYZxyz(17.4582, 13.8843, 55.7817)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FC7 #C7B54D
analogous
#4D9CC7 #4D5FC7 #784DC7
triadic
#4D5FC7 #C74D5F #5FC74D
tetradic
#4D5FC7 #C74D9C #C7B54D #4DC778
square
#4D5FC7 #C74D9C #C7B54D #4DC778
split-complementary
#4D5FC7 #C7784D #9CC74D
monochromatic
#253175 #3344A3 #4D5FC7 #7C89D6 #AAB3E4

Accessibility & contrast

On white

5.56
#4D5FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4D5FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FC7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FC7#FFFFFF#000000##FFFFFF
##4D5FC71.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206ECB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d5fc7;
/* rgb */ color: rgb(77, 95, 199);
/* oklch */ color: oklch(52.7% 0.162 272.3);
Tailwind
colors: {
  custom: {
    50: '#8a8cd9',
    500: '#4d5fc7',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fc7;
$custom-light: #8a8cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fc7",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 231.148,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52747,
    "c": 0.162,
    "h": 272.3
  },
  "luminance": 0.13886
}

Semantic roles & 50–950 ramp

primary
#4D5FC7
secondary
#D2CA9E
accent
#C64CDC
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D5FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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