#4D57CF#4D57CF

#4D57CF is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.183 H 274.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4D57CF
RGBrgb(77, 87, 207)
HSLhsl(235, 58%, 56%)
HSVhsv(235, 63%, 81%)
CMYKcmyk(62.8%, 58%, 0%, 18.8%)
CIE-LABlab(42.61, 33.05, -63.44)
CIE-LCHlch(42.61, 71.53, 297.52°)
OKLaboklab(51.84% 0.0142 -0.1825)
OKLCHoklch(51.84% 0.183 274.5)
XYZxyz(17.7275, 12.8977, 60.5747)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57CF #CFC54D
analogous
#4D98CF #4D57CF #844DCF
triadic
#4D57CF #CF4D57 #57CF4D
tetradic
#4D57CF #CF4D98 #CFC54D #4DCF84
square
#4D57CF #CF4D98 #CFC54D #4DCF84
split-complementary
#4D57CF #CF844D #98CF4D
monochromatic
#22297F #2F39AF #4D57CF #7D84DC #ADB2E9

Accessibility & contrast

On white

5.87
#4D57CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4D57CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57CF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57CF#FFFFFF#000000##FFFFFF
##4D57CF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d57cf;
/* rgb */ color: rgb(77, 87, 207);
/* oklch */ color: oklch(51.8% 0.183 274.5);
Tailwind
colors: {
  custom: {
    50: '#8c86df',
    500: '#4d57cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d57cf;
$custom-light: #8c86df;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57cf",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 235.385,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51835,
    "c": 0.18301,
    "h": 274.5
  },
  "luminance": 0.12899
}

Semantic roles & 50–950 ramp

primary
#4D57CF
secondary
#D7D3A1
accent
#D547E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D57CF

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

Preview Lab → · Contrast checker → · Palette generator →

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