#4D70EC#4D70EC

#4D70EC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.7% C 0.191 H 268.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4D70EC
RGBrgb(77, 112, 236)
HSLhsl(227, 81%, 61%)
HSVhsv(227, 67%, 93%)
CMYKcmyk(67.4%, 52.5%, 0%, 7.5%)
CIE-LABlab(50.94, 27.44, -66.38)
CIE-LCHlch(50.94, 71.83, 292.45°)
OKLaboklab(58.73% -0.0062 -0.1908)
OKLCHoklch(58.73% 0.191 268.1)
XYZxyz(23.9898, 19.2199, 81.7862)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D70EC #ECC94D
analogous
#4DC0EC #4D70EC #7A4DEC
triadic
#4D70EC #EC4D70 #70EC4D
tetradic
#4D70EC #EC4DC0 #ECC94D #4DEC7A
square
#4D70EC #EC4DC0 #ECC94D #4DEC7A
split-complementary
#4D70EC #EC7A4D #C0EC4D
monochromatic
#1234AC #1845E4 #4D70EC #849CF2 #BCC9F8

Accessibility & contrast

On white

4.33
#4D70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4D70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D70EC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D70EC#FFFFFF#000000##000000
##4D70EC1.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1981F0
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d70ec;
/* rgb */ color: rgb(77, 112, 236);
/* oklch */ color: oklch(58.7% 0.191 268.1);
Tailwind
colors: {
  custom: {
    50: '#9098f3',
    500: '#4d70ec',
    950: '#000000',
  },
}
SCSS
$custom: #4d70ec;
$custom-light: #9098f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d70ec",
  "rgb": {
    "r": 77,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 226.792,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58726,
    "c": 0.19092,
    "h": 268.1
  },
  "luminance": 0.19222
}

Semantic roles & 50–950 ramp

primary
#4D70EC
secondary
#E8DBAD
accent
#AE08DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4D70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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