#4D70ED#4D70ED

#4D70ED is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.8% C 0.192 H 268.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4D70ED
RGBrgb(77, 112, 237)
HSLhsl(227, 82%, 62%)
HSVhsv(227, 68%, 93%)
CMYKcmyk(67.5%, 52.7%, 0%, 7.1%)
CIE-LABlab(51.01, 27.78, -66.83)
CIE-LCHlch(51.01, 72.38, 292.57°)
OKLaboklab(58.8% -0.0061 -0.1921)
OKLCHoklch(58.8% 0.192 268.2)
XYZxyz(24.1355, 19.2782, 82.5535)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D70ED #EDCA4D
analogous
#4DC0ED #4D70ED #7A4DED
triadic
#4D70ED #ED4D70 #70ED4D
tetradic
#4D70ED #ED4DC0 #EDCA4D #4DED7A
square
#4D70ED #ED4DC0 #EDCA4D #4DED7A
split-complementary
#4D70ED #ED7A4D #C0ED4D
monochromatic
#1234AE #1744E6 #4D70ED #859DF3 #BCC9F8

Accessibility & contrast

On white

4.32
#4D70ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4D70ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D70ED
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D70ED#FFFFFF#000000##000000
##4D70ED1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1781F1
Deuteranopia (green-blind)
#0073EA
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d70ed;
/* rgb */ color: rgb(77, 112, 237);
/* oklch */ color: oklch(58.8% 0.192 268.2);
Tailwind
colors: {
  custom: {
    50: '#9098f4',
    500: '#4d70ed',
    950: '#000000',
  },
}
SCSS
$custom: #4d70ed;
$custom-light: #9098f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d70ed",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 226.875,
    "s": 81.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58798,
    "c": 0.19225,
    "h": 268.2
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#4D70ED
secondary
#E9DCAD
accent
#AF07DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4D70ED

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

Preview Lab → · Contrast checker → · Palette generator →

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