#4D5AD2#4D5AD2

#4D5AD2 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.6% C 0.183 H 273.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4D5AD2
RGBrgb(77, 90, 210)
HSLhsl(234, 60%, 56%)
HSVhsv(234, 63%, 82%)
CMYKcmyk(63.3%, 57.1%, 0%, 17.6%)
CIE-LABlab(43.57, 32.20, -63.61)
CIE-LCHlch(43.57, 71.29, 296.85°)
OKLaboklab(52.62% 0.0116 -0.1829)
OKLCHoklch(52.62% 0.183 273.6)
XYZxyz(18.3457, 13.5417, 62.6073)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5AD2 #D2C54D
analogous
#4D9DD2 #4D5AD2 #834DD2
triadic
#4D5AD2 #D24D5A #5AD24D
tetradic
#4D5AD2 #D24D9D #D2C54D #4DD283
square
#4D5AD2 #D24D9D #D2C54D #4DD283
split-complementary
#4D5AD2 #D2834D #9DD24D
monochromatic
#212B83 #2E3BB4 #4D5AD2 #7E87DE #AFB5EB

Accessibility & contrast

On white

5.66
#4D5AD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4D5AD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5AD2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5AD2#FFFFFF#000000##FFFFFF
##4D5AD21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#00778D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d5ad2;
/* rgb */ color: rgb(77, 90, 210);
/* oklch */ color: oklch(52.6% 0.183 273.6);
Tailwind
colors: {
  custom: {
    50: '#8c88e1',
    500: '#4d5ad2',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ad2;
$custom-light: #8c88e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ad2",
  "rgb": {
    "r": 77,
    "g": 90,
    "b": 210
  },
  "hsl": {
    "h": 234.135,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52618,
    "c": 0.18329,
    "h": 273.6
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#4D5AD2
secondary
#D9D3A2
accent
#D345E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D5AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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