#4D57C8#4D57C8

#4D57C8 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.174 H 274.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4D57C8
RGBrgb(77, 87, 200)
HSLhsl(235, 53%, 54%)
HSVhsv(235, 62%, 78%)
CMYKcmyk(61.5%, 56.5%, 0%, 21.6%)
CIE-LABlab(42.10, 30.69, -60.23)
CIE-LCHlch(42.10, 67.60, 297.00°)
OKLaboklab(51.29% 0.0142 -0.173)
OKLCHoklch(51.29% 0.174 274.7)
XYZxyz(16.8907, 12.5629, 56.1672)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57C8 #C8BE4D
analogous
#4D95C8 #4D57C8 #814DC8
triadic
#4D57C8 #C84D57 #57C84D
tetradic
#4D57C8 #C84D95 #C8BE4D #4DC881
square
#4D57C8 #C84D95 #C8BE4D #4DC881
split-complementary
#4D57C8 #C8814D #95C84D
monochromatic
#242B76 #333CA5 #4D57C8 #7C83D6 #ABAFE5

Accessibility & contrast

On white

5.98
#4D57C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4D57C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57C8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57C8#FFFFFF#000000##FFFFFF
##4D57C81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d57c8;
/* rgb */ color: rgb(77, 87, 200);
/* oklch */ color: oklch(51.3% 0.174 274.7);
Tailwind
colors: {
  custom: {
    50: '#8b86d9',
    500: '#4d57c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d57c8;
$custom-light: #8b86d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57c8",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 235.122,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51293,
    "c": 0.17361,
    "h": 274.7
  },
  "luminance": 0.12564
}

Semantic roles & 50–950 ramp

primary
#4D57C8
secondary
#D2CE9E
accent
#D04CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D57C8

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

Preview Lab → · Contrast checker → · Palette generator →

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