#4D5EC4#4D5EC4

#4D5EC4 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.159 H 272.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4D5EC4
RGBrgb(77, 94, 196)
HSLhsl(231, 50%, 54%)
HSVhsv(231, 61%, 77%)
CMYKcmyk(60.7%, 52%, 0%, 23.1%)
CIE-LABlab(43.61, 24.92, -55.48)
CIE-LCHlch(43.61, 60.82, 294.19°)
OKLaboklab(52.34% 0.0072 -0.159)
OKLCHoklch(52.34% 0.159 272.6)
XYZxyz(17.0238, 13.5673, 53.9355)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5EC4 #C4B34D
analogous
#4D99C4 #4D5EC4 #774DC4
triadic
#4D5EC4 #C44D5E #5EC44D
tetradic
#4D5EC4 #C44D99 #C4B34D #4DC477
square
#4D5EC4 #C44D99 #C4B34D #4DC477
split-complementary
#4D5EC4 #C4774D #99C44D
monochromatic
#253071 #35449F #4D5EC4 #7B88D3 #A9B1E2

Accessibility & contrast

On white

5.65
#4D5EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D5EC4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5EC4#FFFFFF#000000##FFFFFF
##4D5EC41.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226CC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d5ec4;
/* rgb */ color: rgb(77, 94, 196);
/* oklch */ color: oklch(52.3% 0.159 272.6);
Tailwind
colors: {
  custom: {
    50: '#8a8bd6',
    500: '#4d5ec4',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ec4;
$custom-light: #8a8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ec4",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 196
  },
  "hsl": {
    "h": 231.429,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52335,
    "c": 0.15912,
    "h": 272.6
  },
  "luminance": 0.13569
}

Semantic roles & 50–950 ramp

primary
#4D5EC4
secondary
#D0C99D
accent
#C64EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4D5EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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