#4D5FD7#4D5FD7

#4D5FD7 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.9% C 0.184 H 272.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4D5FD7
RGBrgb(77, 95, 215)
HSLhsl(232, 63%, 57%)
HSVhsv(232, 64%, 84%)
CMYKcmyk(64.2%, 55.8%, 0%, 15.7%)
CIE-LABlab(45.17, 30.78, -63.86)
CIE-LCHlch(45.17, 70.89, 295.73°)
OKLaboklab(53.93% 0.0073 -0.1836)
OKLCHoklch(53.93% 0.184 272.3)
XYZxyz(19.4144, 14.6668, 66.0847)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FD7 #D7C54D
analogous
#4DA4D7 #4D5FD7 #804DD7
triadic
#4D5FD7 #D74D5F #5FD74D
tetradic
#4D5FD7 #D74DA4 #D7C54D #4DD780
square
#4D5FD7 #D74DA4 #D7C54D #4DD780
split-complementary
#4D5FD7 #D7804D #A4D74D
monochromatic
#1F2D8A #2A3DBC #4D5FD7 #7F8CE2 #B1B9ED

Accessibility & contrast

On white

5.34
#4D5FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4D5FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FD7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FD7#FFFFFF#000000##FFFFFF
##4D5FD71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d5fd7;
/* rgb */ color: rgb(77, 95, 215);
/* oklch */ color: oklch(53.9% 0.184 272.3);
Tailwind
colors: {
  custom: {
    50: '#8d8ce4',
    500: '#4d5fd7',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fd7;
$custom-light: #8d8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fd7",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 232.174,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5393,
    "c": 0.18375,
    "h": 272.3
  },
  "luminance": 0.14668
}

Semantic roles & 50–950 ramp

primary
#4D5FD7
secondary
#DCD5A4
accent
#D141E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4D5FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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