#4D56BE#4D56BE

#4D56BE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.161 H 275.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4D56BE
RGBrgb(77, 86, 190)
HSLhsl(235, 47%, 52%)
HSVhsv(235, 59%, 75%)
CMYKcmyk(59.5%, 54.7%, 0%, 25.5%)
CIE-LABlab(41.14, 27.94, -55.98)
CIE-LCHlch(41.14, 62.57, 296.53°)
OKLaboklab(50.35% 0.0148 -0.1605)
OKLCHoklch(50.35% 0.161 275.3)
XYZxyz(15.6796, 11.9499, 50.1855)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56BE #BEB54D
analogous
#4D8FBE #4D56BE #7C4DBE
triadic
#4D56BE #BE4D56 #56BE4D
tetradic
#4D56BE #BE4D8F #BEB54D #4DBE7C
square
#4D56BE #BE4D8F #BEB54D #4DBE7C
split-complementary
#4D56BE #BE7C4D #8FBE4D
monochromatic
#272C6A #373F97 #4D56BE #7A81CE #A7ABDF

Accessibility & contrast

On white

6.19
#4D56BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4D56BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56BE
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56BE#FFFFFF#000000##FFFFFF
##4D56BE1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C66C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d56be;
/* rgb */ color: rgb(77, 86, 190);
/* oklch */ color: oklch(50.4% 0.161 275.3);
Tailwind
colors: {
  custom: {
    50: '#8985d2',
    500: '#4d56be',
    950: '#000000',
  },
}
SCSS
$custom: #4d56be;
$custom-light: #8985d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56be",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 235.221,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50351,
    "c": 0.16121,
    "h": 275.3
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

primary
#4D56BE
secondary
#CCC89B
accent
#CC52D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4D56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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