#4D56DE#4D56DE

#4D56DE is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.9% C 0.204 H 274.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4D56DE
RGBrgb(77, 86, 222)
HSLhsl(236, 69%, 59%)
HSVhsv(236, 65%, 87%)
CMYKcmyk(65.3%, 61.3%, 0%, 12.9%)
CIE-LABlab(43.52, 38.71, -70.55)
CIE-LCHlch(43.52, 80.47, 298.75°)
OKLaboklab(52.86% 0.0148 -0.2034)
OKLCHoklch(52.86% 0.204 274.2)
XYZxyz(19.5688, 13.5056, 70.6687)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56DE #DED54D
analogous
#4D9EDE #4D56DE #8C4DDE
triadic
#4D56DE #DE4D56 #56DE4D
tetradic
#4D56DE #DE4D9E #DED54D #4DDE8C
square
#4D56DE #DE4D9E #DED54D #4DDE8C
split-complementary
#4D56DE #DE8C4D #9EDE4D
monochromatic
#1C2395 #252FC9 #4D56DE #8187E8 #B4B8F1

Accessibility & contrast

On white

5.67
#4D56DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4D56DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56DE
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56DE#FFFFFF#000000##FFFFFF
##4D56DE1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d56de;
/* rgb */ color: rgb(77, 86, 222);
/* oklch */ color: oklch(52.9% 0.204 274.2);
Tailwind
colors: {
  custom: {
    50: '#8f86e9',
    500: '#4d56de',
    950: '#000000',
  },
}
SCSS
$custom: #4d56de;
$custom-light: #8f86e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56de",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 236.276,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.20389,
    "h": 274.2
  },
  "luminance": 0.13507
}

Semantic roles & 50–950 ramp

primary
#4D56DE
secondary
#E0DDA7
accent
#E13CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D56DE

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

Preview Lab → · Contrast checker → · Palette generator →

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