#4D57D2#4D57D2

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

Color values

HEX#4D57D2
RGBrgb(77, 87, 210)
HSLhsl(235, 60%, 56%)
HSVhsv(235, 63%, 82%)
CMYKcmyk(63.3%, 58.6%, 0%, 17.6%)
CIE-LABlab(42.83, 34.06, -64.80)
CIE-LCHlch(42.83, 73.21, 297.73°)
OKLaboklab(52.07% 0.0142 -0.1865)
OKLCHoklch(52.07% 0.187 274.4)
XYZxyz(18.0978, 13.0458, 62.5246)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57D2 #D2C84D
analogous
#4D9AD2 #4D57D2 #864DD2
triadic
#4D57D2 #D24D57 #57D24D
tetradic
#4D57D2 #D24D9A #D2C84D #4DD286
square
#4D57D2 #D24D9A #D2C84D #4DD286
split-complementary
#4D57D2 #D2864D #9AD24D
monochromatic
#212983 #2E38B4 #4D57D2 #7E85DE #AFB3EB

Accessibility & contrast

On white

5.82
#4D57D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#4D57D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57D2
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57D2#FFFFFF#000000##FFFFFF
##4D57D21.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d57d2;
/* rgb */ color: rgb(77, 87, 210);
/* oklch */ color: oklch(52.1% 0.187 274.4);
Tailwind
colors: {
  custom: {
    50: '#8d86e1',
    500: '#4d57d2',
    950: '#000000',
  },
}
SCSS
$custom: #4d57d2;
$custom-light: #8d86e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57d2",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 235.489,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52071,
    "c": 0.187,
    "h": 274.4
  },
  "luminance": 0.13047
}

Semantic roles & 50–950 ramp

primary
#4D57D2
secondary
#D9D5A2
accent
#D745E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D57D2

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

Preview Lab → · Contrast checker → · Palette generator →

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