#4D5ACD#4D5ACD

#4D5ACD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.177 H 273.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4D5ACD
RGBrgb(77, 90, 205)
HSLhsl(234, 56%, 55%)
HSVhsv(234, 62%, 80%)
CMYKcmyk(62.4%, 56.1%, 0%, 19.6%)
CIE-LABlab(43.21, 30.50, -61.32)
CIE-LCHlch(43.21, 68.49, 296.45°)
OKLaboklab(52.23% 0.0115 -0.1762)
OKLCHoklch(52.23% 0.177 273.7)
XYZxyz(17.7325, 13.2964, 59.3778)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5ACD #CDC04D
analogous
#4D9ACD #4D5ACD #804DCD
triadic
#4D5ACD #CD4D5A #5ACD4D
tetradic
#4D5ACD #CD4D9A #CDC04D #4DCD80
square
#4D5ACD #CD4D9A #CDC04D #4DCD80
split-complementary
#4D5ACD #CD804D #9ACD4D
monochromatic
#232C7D #303DAC #4D5ACD #7D86DA #ADB3E8

Accessibility & contrast

On white

5.74
#4D5ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4D5ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5ACD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5ACD#FFFFFF#000000##FFFFFF
##4D5ACD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d5acd;
/* rgb */ color: rgb(77, 90, 205);
/* oklch */ color: oklch(52.2% 0.177 273.7);
Tailwind
colors: {
  custom: {
    50: '#8b88dd',
    500: '#4d5acd',
    950: '#000000',
  },
}
SCSS
$custom: #4d5acd;
$custom-light: #8b88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5acd",
  "rgb": {
    "r": 77,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 233.906,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52234,
    "c": 0.17656,
    "h": 273.7
  },
  "luminance": 0.13298
}

Semantic roles & 50–950 ramp

primary
#4D5ACD
secondary
#D6D0A0
accent
#D048DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D5ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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