#4D5FD5#4D5FD5

#4D5FD5 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.181 H 272.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4D5FD5
RGBrgb(77, 95, 213)
HSLhsl(232, 62%, 57%)
HSVhsv(232, 64%, 84%)
CMYKcmyk(63.8%, 55.4%, 0%, 16.5%)
CIE-LABlab(45.03, 30.10, -62.95)
CIE-LCHlch(45.03, 69.77, 295.55°)
OKLaboklab(53.78% 0.0072 -0.1809)
OKLCHoklch(53.78% 0.181 272.3)
XYZxyz(19.1590, 14.5646, 64.7395)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FD5 #D5C34D
analogous
#4DA3D5 #4D5FD5 #7F4DD5
triadic
#4D5FD5 #D54D5F #5FD54D
tetradic
#4D5FD5 #D54DA3 #D5C34D #4DD57F
square
#4D5FD5 #D54DA3 #D5C34D #4DD57F
split-complementary
#4D5FD5 #D57F4D #A3D54D
monochromatic
#202E88 #2C3EB9 #4D5FD5 #7F8CE1 #B0B8EC

Accessibility & contrast

On white

5.37
#4D5FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#4D5FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FD5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FD5#FFFFFF#000000##FFFFFF
##4D5FD51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d5fd5;
/* rgb */ color: rgb(77, 95, 213);
/* oklch */ color: oklch(53.8% 0.181 272.3);
Tailwind
colors: {
  custom: {
    50: '#8d8ce3',
    500: '#4d5fd5',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fd5;
$custom-light: #8d8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fd5",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 232.059,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.18107,
    "h": 272.3
  },
  "luminance": 0.14566
}

Semantic roles & 50–950 ramp

primary
#4D5FD5
secondary
#DBD3A3
accent
#CF43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84

Preview Lab

Preview with #4D5FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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