#4D5FEC#4D5FEC

#4D5FEC is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.6% C 0.211 H 272.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4D5FEC
RGBrgb(77, 95, 236)
HSLhsl(233, 81%, 61%)
HSVhsv(233, 67%, 93%)
CMYKcmyk(67.4%, 59.7%, 0%, 7.5%)
CIE-LABlab(46.73, 37.93, -73.22)
CIE-LCHlch(46.73, 82.46, 297.38°)
OKLaboklab(55.58% 0.0074 -0.2111)
OKLCHoklch(55.58% 0.211 272)
XYZxyz(22.2880, 15.8162, 81.2189)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FEC #ECDA4D
analogous
#4DAEEC #4D5FEC #8B4DEC
triadic
#4D5FEC #EC4D5F #5FEC4D
tetradic
#4D5FEC #EC4DAE #ECDA4D #4DEC8B
square
#4D5FEC #EC4DAE #ECDA4D #4DEC8B
split-complementary
#4D5FEC #EC8B4D #AEEC4D
monochromatic
#1224AC #182FE4 #4D5FEC #8491F2 #BCC2F8

Accessibility & contrast

On white

5.04
#4D5FEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4D5FEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FEC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FEC#FFFFFF#000000##FFFFFF
##4D5FEC1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4d5fec;
/* rgb */ color: rgb(77, 95, 236);
/* oklch */ color: oklch(55.6% 0.211 272.0);
Tailwind
colors: {
  custom: {
    50: '#918cf3',
    500: '#4d5fec',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fec;
$custom-light: #918cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fec",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 233.208,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55577,
    "c": 0.21126,
    "h": 272
  },
  "luminance": 0.15818
}

Semantic roles & 50–950 ramp

primary
#4D5FEC
secondary
#E8E1AD
accent
#C508DD
background
#F9F8FF
surface
#F2F0FE
border
#CCCBD6
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4D5FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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