#4D57D6#4D57D6

#4D57D6 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.192 H 274.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4D57D6
RGBrgb(77, 87, 214)
HSLhsl(236, 63%, 57%)
HSVhsv(236, 64%, 84%)
CMYKcmyk(64%, 59.3%, 0%, 16.1%)
CIE-LABlab(43.13, 35.41, -66.60)
CIE-LCHlch(43.13, 75.43, 298.00°)
OKLaboklab(52.39% 0.0142 -0.1918)
OKLCHoklch(52.39% 0.192 274.2)
XYZxyz(18.6023, 13.2476, 65.1820)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57D6 #D6CC4D
analogous
#4D9CD6 #4D57D6 #874DD6
triadic
#4D57D6 #D64D57 #57D64D
tetradic
#4D57D6 #D64D9C #D6CC4D #4DD687
square
#4D57D6 #D64D9C #D6CC4D #4DD687
split-complementary
#4D57D6 #D6874D #9CD64D
monochromatic
#202789 #2B36BB #4D57D6 #7F86E1 #B0B5ED

Accessibility & contrast

On white

5.75
#4D57D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4D57D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57D6
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57D6#FFFFFF#000000##FFFFFF
##4D57D61.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d57d6;
/* rgb */ color: rgb(77, 87, 214);
/* oklch */ color: oklch(52.4% 0.192 274.2);
Tailwind
colors: {
  custom: {
    50: '#8d86e4',
    500: '#4d57d6',
    950: '#000000',
  },
}
SCSS
$custom: #4d57d6;
$custom-light: #8d86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57d6",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 214
  },
  "hsl": {
    "h": 235.62,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52389,
    "c": 0.19228,
    "h": 274.2
  },
  "luminance": 0.13249
}

Semantic roles & 50–950 ramp

primary
#4D57D6
secondary
#DBD7A4
accent
#DA42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4D57D6

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

Preview Lab → · Contrast checker → · Palette generator →

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