#4D5FD1#4D5FD1

#4D5FD1 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.5% C 0.176 H 272.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4D5FD1
RGBrgb(77, 95, 209)
HSLhsl(232, 59%, 56%)
HSVhsv(232, 63%, 82%)
CMYKcmyk(63.2%, 54.5%, 0%, 18%)
CIE-LABlab(44.75, 28.73, -61.12)
CIE-LCHlch(44.75, 67.53, 295.18°)
OKLaboklab(53.48% 0.0071 -0.1755)
OKLCHoklch(53.48% 0.176 272.3)
XYZxyz(18.6576, 14.3640, 62.0986)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FD1 #D1BF4D
analogous
#4DA1D1 #4D5FD1 #7D4DD1
triadic
#4D5FD1 #D14D5F #5FD14D
tetradic
#4D5FD1 #D14DA1 #D1BF4D #4DD17D
square
#4D5FD1 #D14DA1 #D1BF4D #4DD17D
split-complementary
#4D5FD1 #D17D4D #A1D14D
monochromatic
#222F82 #2E40B3 #4D5FD1 #7E8BDE #AEB6EA

Accessibility & contrast

On white

5.42
#4D5FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4D5FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FD1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FD1#FFFFFF#000000##FFFFFF
##4D5FD11.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0470D5
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d5fd1;
/* rgb */ color: rgb(77, 95, 209);
/* oklch */ color: oklch(53.5% 0.176 272.3);
Tailwind
colors: {
  custom: {
    50: '#8c8ce0',
    500: '#4d5fd1',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fd1;
$custom-light: #8c8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fd1",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 209
  },
  "hsl": {
    "h": 231.818,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53478,
    "c": 0.17568,
    "h": 272.3
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#4D5FD1
secondary
#D8D1A2
accent
#CD46E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D5FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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