#4D57BC#4D57BC

#4D57BC is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.157 H 275.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4D57BC
RGBrgb(77, 87, 188)
HSLhsl(235, 45%, 52%)
HSVhsv(235, 59%, 74%)
CMYKcmyk(59%, 53.7%, 0%, 26.3%)
CIE-LABlab(41.25, 26.64, -54.62)
CIE-LCHlch(41.25, 60.77, 296.00°)
OKLaboklab(50.4% 0.0137 -0.1565)
OKLCHoklch(50.4% 0.157 275)
XYZxyz(15.5429, 12.0238, 49.0690)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57BC #BCB24D
analogous
#4D8EBC #4D57BC #7B4DBC
triadic
#4D57BC #BC4D57 #57BC4D
tetradic
#4D57BC #BC4D8E #BCB24D #4DBC7B
square
#4D57BC #BC4D8E #BCB24D #4DBC7B
split-complementary
#4D57BC #BC7B4D #8EBC4D
monochromatic
#272D68 #384094 #4D57BC #7981CD #A6ABDD

Accessibility & contrast

On white

6.17
#4D57BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4D57BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57BC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57BC#FFFFFF#000000##FFFFFF
##4D57BC1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766C0
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d57bc;
/* rgb */ color: rgb(77, 87, 188);
/* oklch */ color: oklch(50.4% 0.157 275.0);
Tailwind
colors: {
  custom: {
    50: '#8986d1',
    500: '#4d57bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d57bc;
$custom-light: #8986d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57bc",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 234.595,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50395,
    "c": 0.15712,
    "h": 275
  },
  "luminance": 0.12025
}

Semantic roles & 50–950 ramp

primary
#4D57BC
secondary
#CBC69A
accent
#C953D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4D57BC

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

Preview Lab → · Contrast checker → · Palette generator →

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