#4D70E4#4D70E4

#4D70E4 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.2% C 0.180 H 267.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4D70E4
RGBrgb(77, 112, 228)
HSLhsl(226, 74%, 60%)
HSVhsv(226, 66%, 89%)
CMYKcmyk(66.2%, 50.9%, 0%, 10.6%)
CIE-LABlab(50.41, 24.66, -62.75)
CIE-LCHlch(50.41, 67.42, 291.45°)
OKLaboklab(58.15% -0.0069 -0.1801)
OKLCHoklch(58.15% 0.18 267.8)
XYZxyz(22.8535, 18.7654, 75.8014)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D70E4 #E4C14D
analogous
#4DBBE4 #4D70E4 #764DE4
triadic
#4D70E4 #E44D70 #70E44D
tetradic
#4D70E4 #E44DBB #E4C14D #4DE476
square
#4D70E4 #E44DBB #E4C14D #4DE476
split-complementary
#4D70E4 #E4764D #BBE44D
monochromatic
#18379F #204AD4 #4D70E4 #829BEC #B7C5F4

Accessibility & contrast

On white

4.42
#4D70E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4D70E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D70E4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D70E4#FFFFFF#000000##000000
##4D70E41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7FE8
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d70e4;
/* rgb */ color: rgb(77, 112, 228);
/* oklch */ color: oklch(58.2% 0.180 267.8);
Tailwind
colors: {
  custom: {
    50: '#8e98ed',
    500: '#4d70e4',
    950: '#000000',
  },
}
SCSS
$custom: #4d70e4;
$custom-light: #8e98ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4d70e4",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 226.093,
    "s": 73.659,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58154,
    "c": 0.18027,
    "h": 267.8
  },
  "luminance": 0.18768
}

Semantic roles & 50–950 ramp

primary
#4D70E4
secondary
#E4D6A9
accent
#C537F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4D70E4

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

Preview Lab → · Contrast checker → · Palette generator →

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