#4C70ED#4C70ED

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

Color values

HEX#4C70ED
RGBrgb(76, 112, 237)
HSLhsl(227, 82%, 61%)
HSVhsv(227, 68%, 93%)
CMYKcmyk(67.9%, 52.7%, 0%, 7.1%)
CIE-LABlab(50.96, 27.64, -66.91)
CIE-LCHlch(50.96, 72.40, 292.44°)
OKLaboklab(58.75% -0.007 -0.1924)
OKLCHoklch(58.75% 0.193 267.9)
XYZxyz(24.0555, 19.2369, 82.5497)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C70ED #EDC94C
analogous
#4CC1ED #4C70ED #794CED
triadic
#4C70ED #ED4C70 #70ED4C
tetradic
#4C70ED #ED4CC1 #EDC94C #4CED79
square
#4C70ED #ED4CC1 #EDC94C #4CED79
split-complementary
#4C70ED #ED794C #C1ED4C
monochromatic
#1134AD #1745E5 #4C70ED #849CF3 #BBC9F8

Accessibility & contrast

On white

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

On black

4.85
#4C70ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C70ED
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C70ED#FFFFFF#000000##000000
##4C70ED1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c70ed;
/* rgb */ color: rgb(76, 112, 237);
/* oklch */ color: oklch(58.7% 0.193 267.9);
Tailwind
colors: {
  custom: {
    50: '#9098f4',
    500: '#4c70ed',
    950: '#000000',
  },
}
SCSS
$custom: #4c70ed;
$custom-light: #9098f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c70ed",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 226.584,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58749,
    "c": 0.19253,
    "h": 267.9
  },
  "luminance": 0.19239
}

Semantic roles & 50–950 ramp

primary
#4C70ED
secondary
#E8DBAC
accent
#AE07DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4C70ED

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

Preview Lab → · Contrast checker → · Palette generator →

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