#4D57D5#4D57D5

#4D57D5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.191 H 274.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4D57D5
RGBrgb(77, 87, 213)
HSLhsl(236, 62%, 57%)
HSVhsv(236, 64%, 84%)
CMYKcmyk(63.8%, 59.2%, 0%, 16.5%)
CIE-LABlab(43.06, 35.07, -66.15)
CIE-LCHlch(43.06, 74.88, 297.93°)
OKLaboklab(52.31% 0.0142 -0.1904)
OKLCHoklch(52.31% 0.191 274.3)
XYZxyz(18.4750, 13.1967, 64.5115)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57D5 #D5CB4D
analogous
#4D9BD5 #4D57D5 #874DD5
triadic
#4D57D5 #D54D57 #57D54D
tetradic
#4D57D5 #D54D9B #D5CB4D #4DD587
square
#4D57D5 #D54D9B #D5CB4D #4DD587
split-complementary
#4D57D5 #D5874D #9BD54D
monochromatic
#202888 #2C36B9 #4D57D5 #7F86E1 #B0B4EC

Accessibility & contrast

On white

5.77
#4D57D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4D57D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57D5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57D5#FFFFFF#000000##FFFFFF
##4D57D51.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d57d5;
/* rgb */ color: rgb(77, 87, 213);
/* oklch */ color: oklch(52.3% 0.191 274.3);
Tailwind
colors: {
  custom: {
    50: '#8d86e3',
    500: '#4d57d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d57d5;
$custom-light: #8d86e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57d5",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 213
  },
  "hsl": {
    "h": 235.588,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.19097,
    "h": 274.3
  },
  "luminance": 0.13198
}

Semantic roles & 50–950 ramp

primary
#4D57D5
secondary
#DBD7A3
accent
#D943E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4D57D5

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

Preview Lab → · Contrast checker → · Palette generator →

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