#4D57D9#4D57D9

#4D57D9 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.196 H 274.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4D57D9
RGBrgb(77, 87, 217)
HSLhsl(236, 65%, 58%)
HSVhsv(236, 65%, 85%)
CMYKcmyk(64.5%, 59.9%, 0%, 14.9%)
CIE-LABlab(43.36, 36.42, -67.95)
CIE-LCHlch(43.36, 77.09, 298.19°)
OKLaboklab(52.63% 0.0141 -0.1957)
OKLCHoklch(52.63% 0.196 274.1)
XYZxyz(18.9890, 13.4023, 67.2184)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D57D9 #D9CF4D
analogous
#4D9DD9 #4D57D9 #894DD9
triadic
#4D57D9 #D94D57 #57D94D
tetradic
#4D57D9 #D94D9D #D9CF4D #4DD989
square
#4D57D9 #D94D9D #D9CF4D #4DD989
split-complementary
#4D57D9 #D9894D #9DD94D
monochromatic
#1E268D #2934C0 #4D57D9 #7F87E4 #B2B6EF

Accessibility & contrast

On white

5.71
#4D57D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4D57D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D57D9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D57D9#FFFFFF#000000##FFFFFF
##4D57D91.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d57d9;
/* rgb */ color: rgb(77, 87, 217);
/* oklch */ color: oklch(52.6% 0.196 274.1);
Tailwind
colors: {
  custom: {
    50: '#8e86e6',
    500: '#4d57d9',
    950: '#000000',
  },
}
SCSS
$custom: #4d57d9;
$custom-light: #8e86e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d57d9",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 235.714,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5263,
    "c": 0.19621,
    "h": 274.1
  },
  "luminance": 0.13404
}

Semantic roles & 50–950 ramp

primary
#4D57D9
secondary
#DDD9A5
accent
#DC40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D57D9

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

Preview Lab → · Contrast checker → · Palette generator →

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