#4D56CA#4D56CA

#4D56CA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.178 H 274.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4D56CA
RGBrgb(77, 86, 202)
HSLhsl(236, 54%, 55%)
HSVhsv(236, 62%, 79%)
CMYKcmyk(61.9%, 57.4%, 0%, 20.8%)
CIE-LABlab(41.99, 31.99, -61.56)
CIE-LCHlch(41.99, 69.37, 297.46°)
OKLaboklab(51.26% 0.0151 -0.1769)
OKLCHoklch(51.26% 0.178 274.9)
XYZxyz(17.0455, 12.4962, 57.3794)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D56CA #CAC14D
analogous
#4D95CA #4D56CA #834DCA
triadic
#4D56CA #CA4D56 #56CA4D
tetradic
#4D56CA #CA4D95 #CAC14D #4DCA83
square
#4D56CA #CA4D95 #CAC14D #4DCA83
split-complementary
#4D56CA #CA834D #95CA4D
monochromatic
#242A79 #323AA8 #4D56CA #7C83D8 #ABB0E6

Accessibility & contrast

On white

6.00
#4D56CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4D56CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D56CA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D56CA#FFFFFF#000000##FFFFFF
##4D56CA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d56ca;
/* rgb */ color: rgb(77, 86, 202);
/* oklch */ color: oklch(51.3% 0.178 274.9);
Tailwind
colors: {
  custom: {
    50: '#8b85db',
    500: '#4d56ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d56ca;
$custom-light: #8b85db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d56ca",
  "rgb": {
    "r": 77,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 235.68,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51262,
    "c": 0.17757,
    "h": 274.9
  },
  "luminance": 0.12498
}

Semantic roles & 50–950 ramp

primary
#4D56CA
secondary
#D4D09F
accent
#D34ADD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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