#4D5CD1#4D5CD1

#4D5CD1 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.9% C 0.179 H 273.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4D5CD1
RGBrgb(77, 92, 209)
HSLhsl(233, 59%, 56%)
HSVhsv(233, 63%, 82%)
CMYKcmyk(63.2%, 56%, 0%, 18%)
CIE-LABlab(43.99, 30.61, -62.34)
CIE-LCHlch(43.99, 69.45, 296.15°)
OKLaboklab(52.91% 0.0098 -0.1792)
OKLCHoklch(52.91% 0.179 273.1)
XYZxyz(18.3925, 13.8340, 62.0102)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5CD1 #D1C24D
analogous
#4D9ED1 #4D5CD1 #804DD1
triadic
#4D5CD1 #D14D5C #5CD14D
tetradic
#4D5CD1 #D14D9E #D1C24D #4DD180
square
#4D5CD1 #D14D9E #D1C24D #4DD180
split-complementary
#4D5CD1 #D1804D #9ED14D
monochromatic
#222D82 #2E3DB3 #4D5CD1 #7E89DE #AEB5EA

Accessibility & contrast

On white

5.57
#4D5CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4D5CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5CD1
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5CD1#FFFFFF#000000##FFFFFF
##4D5CD11.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d5cd1;
/* rgb */ color: rgb(77, 92, 209);
/* oklch */ color: oklch(52.9% 0.179 273.1);
Tailwind
colors: {
  custom: {
    50: '#8c8ae0',
    500: '#4d5cd1',
    950: '#000000',
  },
}
SCSS
$custom: #4d5cd1;
$custom-light: #8c8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5cd1",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 233.182,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.17945,
    "h": 273.1
  },
  "luminance": 0.13836
}

Semantic roles & 50–950 ramp

primary
#4D5CD1
secondary
#D8D2A2
accent
#D046E2
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D5CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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