#4D5ECA#4D5ECA

#4D5ECA is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.167 H 272.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4D5ECA
RGBrgb(77, 94, 202)
HSLhsl(232, 54%, 55%)
HSVhsv(232, 62%, 79%)
CMYKcmyk(61.9%, 53.5%, 0%, 20.8%)
CIE-LABlab(44.01, 26.97, -58.29)
CIE-LCHlch(44.01, 64.23, 294.83°)
OKLaboklab(52.77% 0.0076 -0.1672)
OKLCHoklch(52.77% 0.167 272.6)
XYZxyz(17.7204, 13.8460, 57.6044)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5ECA #CAB94D
analogous
#4D9DCA #4D5ECA #7B4DCA
triadic
#4D5ECA #CA4D5E #5ECA4D
tetradic
#4D5ECA #CA4D9D #CAB94D #4DCA7B
square
#4D5ECA #CA4D9D #CAB94D #4DCA7B
split-complementary
#4D5ECA #CA7B4D #9DCA4D
monochromatic
#242F79 #3242A8 #4D5ECA #7C89D8 #ABB3E6

Accessibility & contrast

On white

5.57
#4D5ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4D5ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5ECA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5ECA#FFFFFF#000000##FFFFFF
##4D5ECA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166ECE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d5eca;
/* rgb */ color: rgb(77, 94, 202);
/* oklch */ color: oklch(52.8% 0.167 272.6);
Tailwind
colors: {
  custom: {
    50: '#8b8bdb',
    500: '#4d5eca',
    950: '#000000',
  },
}
SCSS
$custom: #4d5eca;
$custom-light: #8b8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5eca",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 231.84,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5277,
    "c": 0.1674,
    "h": 272.6
  },
  "luminance": 0.13847
}

Semantic roles & 50–950 ramp

primary
#4D5ECA
secondary
#D4CD9F
accent
#C94ADD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D5ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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