#4D57D1#4D57D1

#4D57D1 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.0% C 0.186 H 274.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#4D57D1
RGBrgb(77, 87, 209)
HSLhsl(235, 59%, 56%)
HSVhsv(235, 63%, 82%)
CMYKcmyk(63.2%, 58.4%, 0%, 18%)
CIE-LABlab(42.76, 33.73, -64.35)
CIE-LCHlch(42.76, 72.65, 297.66°)
OKLaboklab(51.99% 0.0142 -0.1851)
OKLCHoklch(51.99% 0.186 274.4)
XYZxyz(17.9736, 12.9961, 61.8706)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57D1 #D1C74D
analogous
#4D99D1 #4D57D1 #854DD1
triadic
#4D57D1 #D14D57 #57D14D
tetradic
#4D57D1 #D14D99 #D1C74D #4DD185
square
#4D57D1 #D14D99 #D1C74D #4DD185
split-complementary
#4D57D1 #D1854D #99D14D
monochromatic
#222982 #2E38B3 #4D57D1 #7E85DE #AEB3EA

Accessibility & contrast

On white

5.83
#4D57D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4D57D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57D1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57D1#FFFFFF#000000##FFFFFF
##4D57D11.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d57d1;
/* rgb */ color: rgb(77, 87, 209);
/* oklch */ color: oklch(52.0% 0.186 274.4);
Tailwind
colors: {
  custom: {
    50: '#8c86e0',
    500: '#4d57d1',
    950: '#000000',
  },
}
SCSS
$custom: #4d57d1;
$custom-light: #8c86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57d1",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 209
  },
  "hsl": {
    "h": 235.455,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51992,
    "c": 0.18568,
    "h": 274.4
  },
  "luminance": 0.12998
}

Semantic roles & 50–950 ramp

primary
#4D57D1
secondary
#D8D4A2
accent
#D646E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D57D1

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

Preview Lab → · Contrast checker → · Palette generator →

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