#4D57D0#4D57D0

#4D57D0 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.184 H 274.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#4D57D0
RGBrgb(77, 87, 208)
HSLhsl(235, 58%, 56%)
HSVhsv(235, 63%, 82%)
CMYKcmyk(63%, 58.2%, 0%, 18.4%)
CIE-LABlab(42.68, 33.39, -63.90)
CIE-LCHlch(42.68, 72.09, 297.59°)
OKLaboklab(51.91% 0.0142 -0.1838)
OKLCHoklch(51.91% 0.184 274.4)
XYZxyz(17.8502, 12.9467, 61.2206)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57D0 #D0C64D
analogous
#4D98D0 #4D57D0 #844DD0
triadic
#4D57D0 #D04D57 #57D04D
tetradic
#4D57D0 #D04D98 #D0C64D #4DD084
square
#4D57D0 #D04D98 #D0C64D #4DD084
split-complementary
#4D57D0 #D0844D #98D04D
monochromatic
#222981 #2F39B1 #4D57D0 #7D85DD #AEB2EA

Accessibility & contrast

On white

5.85
#4D57D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4D57D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57D0
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57D0#FFFFFF#000000##FFFFFF
##4D57D01.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d57d0;
/* rgb */ color: rgb(77, 87, 208);
/* oklch */ color: oklch(51.9% 0.184 274.4);
Tailwind
colors: {
  custom: {
    50: '#8c86df',
    500: '#4d57d0',
    950: '#000000',
  },
}
SCSS
$custom: #4d57d0;
$custom-light: #8c86df;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57d0",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 208
  },
  "hsl": {
    "h": 235.42,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51913,
    "c": 0.18435,
    "h": 274.4
  },
  "luminance": 0.12948
}

Semantic roles & 50–950 ramp

primary
#4D57D0
secondary
#D8D3A1
accent
#D646E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D57D0

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

Preview Lab → · Contrast checker → · Palette generator →

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