#4D5FD2#4D5FD2

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

Color values

HEX#4D5FD2
RGBrgb(77, 95, 210)
HSLhsl(232, 60%, 56%)
HSVhsv(232, 63%, 82%)
CMYKcmyk(63.3%, 54.8%, 0%, 17.6%)
CIE-LABlab(44.82, 29.07, -61.58)
CIE-LCHlch(44.82, 68.09, 295.27°)
OKLaboklab(53.55% 0.0071 -0.1769)
OKLCHoklch(53.55% 0.177 272.3)
XYZxyz(18.7818, 14.4137, 62.7526)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FD2 #D2C04D
analogous
#4DA2D2 #4D5FD2 #7E4DD2
triadic
#4D5FD2 #D24D5F #5FD24D
tetradic
#4D5FD2 #D24DA2 #D2C04D #4DD27E
square
#4D5FD2 #D24DA2 #D2C04D #4DD27E
split-complementary
#4D5FD2 #D27E4D #A2D24D
monochromatic
#212F83 #2E40B4 #4D5FD2 #7E8BDE #AFB7EB

Accessibility & contrast

On white

5.41
#4D5FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4D5FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FD2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FD2#FFFFFF#000000##FFFFFF
##4D5FD21.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d5fd2;
/* rgb */ color: rgb(77, 95, 210);
/* oklch */ color: oklch(53.6% 0.177 272.3);
Tailwind
colors: {
  custom: {
    50: '#8c8ce1',
    500: '#4d5fd2',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fd2;
$custom-light: #8c8ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fd2",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 231.88,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53553,
    "c": 0.17703,
    "h": 272.3
  },
  "luminance": 0.14415
}

Semantic roles & 50–950 ramp

primary
#4D5FD2
secondary
#D9D1A2
accent
#CD45E3
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D5FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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