#4D56BC#4D56BC

#4D56BC is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.158 H 275.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4D56BC
RGBrgb(77, 86, 188)
HSLhsl(235, 45%, 52%)
HSVhsv(235, 59%, 74%)
CMYKcmyk(59%, 54.3%, 0%, 26.3%)
CIE-LABlab(41.00, 27.27, -55.04)
CIE-LCHlch(41.00, 61.42, 296.36°)
OKLaboklab(50.2% 0.0147 -0.1577)
OKLCHoklch(50.2% 0.158 275.3)
XYZxyz(15.4625, 11.8630, 49.0422)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56BC #BCB34D
analogous
#4D8EBC #4D56BC #7C4DBC
triadic
#4D56BC #BC4D56 #56BC4D
tetradic
#4D56BC #BC4D8E #BCB34D #4DBC7C
square
#4D56BC #BC4D8E #BCB34D #4DBC7C
split-complementary
#4D56BC #BC7C4D #8EBC4D
monochromatic
#272C68 #383F94 #4D56BC #7980CD #A6AADD

Accessibility & contrast

On white

6.23
#4D56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4D56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56BC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56BC#FFFFFF#000000##FFFFFF
##4D56BC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1266C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d56bc;
/* rgb */ color: rgb(77, 86, 188);
/* oklch */ color: oklch(50.2% 0.158 275.3);
Tailwind
colors: {
  custom: {
    50: '#8985d1',
    500: '#4d56bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d56bc;
$custom-light: #8985d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56bc",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 235.135,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.15844,
    "h": 275.3
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#4D56BC
secondary
#CBC79A
accent
#CA53D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4D56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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