#4D5CE0#4D5CE0

#4D5CE0 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.1% C 0.199 H 272.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4D5CE0
RGBrgb(77, 92, 224)
HSLhsl(234, 70%, 59%)
HSVhsv(234, 66%, 88%)
CMYKcmyk(65.6%, 58.9%, 0%, 12.2%)
CIE-LABlab(45.10, 35.71, -69.11)
CIE-LCHlch(45.10, 77.79, 297.32°)
OKLaboklab(54.08% 0.0099 -0.1991)
OKLCHoklch(54.08% 0.199 272.9)
XYZxyz(20.3378, 14.6121, 72.2552)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5CE0 #E0D14D
analogous
#4DA5E0 #4D5CE0 #884DE0
triadic
#4D5CE0 #E04D5C #5CE04D
tetradic
#4D5CE0 #E04DA5 #E0D14D #4DE088
square
#4D5CE0 #E04DA5 #E0D14D #4DE088
split-complementary
#4D5CE0 #E0884D #A5E04D
monochromatic
#1A2798 #2435CC #4D5CE0 #818CE9 #B5BBF2

Accessibility & contrast

On white

5.35
#4D5CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4D5CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5CE0
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5CE0#FFFFFF#000000##FFFFFF
##4D5CE01.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E4
Deuteranopia (green-blind)
#0064DD
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d5ce0;
/* rgb */ color: rgb(77, 92, 224);
/* oklch */ color: oklch(54.1% 0.199 272.9);
Tailwind
colors: {
  custom: {
    50: '#8f8aeb',
    500: '#4d5ce0',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ce0;
$custom-light: #8f8aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ce0",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 233.878,
    "s": 70.335,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54081,
    "c": 0.19932,
    "h": 272.9
  },
  "luminance": 0.14614
}

Semantic roles & 50–950 ramp

primary
#4D5CE0
secondary
#E1DBA8
accent
#DB3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D5CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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