#4D56D9#4D56D9

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

Color values

HEX#4D56D9
RGBrgb(77, 86, 217)
HSLhsl(236, 65%, 58%)
HSVhsv(236, 65%, 85%)
CMYKcmyk(64.5%, 60.4%, 0%, 14.9%)
CIE-LABlab(43.12, 37.04, -68.33)
CIE-LCHlch(43.12, 77.73, 298.46°)
OKLaboklab(52.45% 0.0149 -0.1968)
OKLCHoklch(52.45% 0.197 274.3)
XYZxyz(18.9086, 13.2415, 67.1916)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56D9 #D9D04D
analogous
#4D9CD9 #4D56D9 #8A4DD9
triadic
#4D56D9 #D94D56 #56D94D
tetradic
#4D56D9 #D94D9C #D9D04D #4DD98A
square
#4D56D9 #D94D9C #D9D04D #4DD98A
split-complementary
#4D56D9 #D98A4D #9CD94D
monochromatic
#1E258D #2933C0 #4D56D9 #7F86E4 #B2B6EF

Accessibility & contrast

On white

5.76
#4D56D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D56D9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56D9#FFFFFF#000000##FFFFFF
##4D56D91.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d56d9;
/* rgb */ color: rgb(77, 86, 217);
/* oklch */ color: oklch(52.5% 0.197 274.3);
Tailwind
colors: {
  custom: {
    50: '#8e85e6',
    500: '#4d56d9',
    950: '#000000',
  },
}
SCSS
$custom: #4d56d9;
$custom-light: #8e85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56d9",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 217
  },
  "hsl": {
    "h": 236.143,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52454,
    "c": 0.19742,
    "h": 274.3
  },
  "luminance": 0.13243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D56D9

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

Preview Lab → · Contrast checker → · Palette generator →

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