#4D56C8#4D56C8

#4D56C8 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.175 H 275.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4D56C8
RGBrgb(77, 86, 200)
HSLhsl(236, 53%, 54%)
HSVhsv(236, 62%, 78%)
CMYKcmyk(61.5%, 57%, 0%, 21.6%)
CIE-LABlab(41.85, 31.32, -60.64)
CIE-LCHlch(41.85, 68.25, 297.31°)
OKLaboklab(51.11% 0.0151 -0.1742)
OKLCHoklch(51.11% 0.175 275)
XYZxyz(16.8103, 12.4021, 56.1404)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56C8 #C8BF4D
analogous
#4D94C8 #4D56C8 #824DC8
triadic
#4D56C8 #C84D56 #56C84D
tetradic
#4D56C8 #C84D94 #C8BF4D #4DC882
square
#4D56C8 #C84D94 #C8BF4D #4DC882
split-complementary
#4D56C8 #C8824D #94C84D
monochromatic
#242A76 #333BA5 #4D56C8 #7C82D6 #ABAFE5

Accessibility & contrast

On white

6.03
#4D56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4D56C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56C8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56C8#FFFFFF#000000##FFFFFF
##4D56C81.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d56c8;
/* rgb */ color: rgb(77, 86, 200);
/* oklch */ color: oklch(51.1% 0.175 275.0);
Tailwind
colors: {
  custom: {
    50: '#8b85d9',
    500: '#4d56c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d56c8;
$custom-light: #8b85d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56c8",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 235.61,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.17487,
    "h": 275
  },
  "luminance": 0.12403
}

Semantic roles & 50–950 ramp

primary
#4D56C8
secondary
#D2CF9E
accent
#D24CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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