#4C70E4#4C70E4

#4C70E4 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.1% C 0.181 H 267.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4C70E4
RGBrgb(76, 112, 228)
HSLhsl(226, 74%, 60%)
HSVhsv(226, 67%, 89%)
CMYKcmyk(66.7%, 50.9%, 0%, 10.6%)
CIE-LABlab(50.36, 24.50, -62.84)
CIE-LCHlch(50.36, 67.44, 291.30°)
OKLaboklab(58.1% -0.0078 -0.1804)
OKLCHoklch(58.1% 0.181 267.5)
XYZxyz(22.7734, 18.7241, 75.7977)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C70E4 #E4C04C
analogous
#4CBCE4 #4C70E4 #744CE4
triadic
#4C70E4 #E44C70 #70E44C
tetradic
#4C70E4 #E44CBC #E4C04C #4CE474
square
#4C70E4 #E44CBC #E4C04C #4CE474
split-complementary
#4C70E4 #E4744C #BCE44C
monochromatic
#18389E #204AD3 #4C70E4 #819AEC #B6C5F4

Accessibility & contrast

On white

4.43
#4C70E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C70E4#FFFFFF#000000##000000
##4C70E41.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c70e4;
/* rgb */ color: rgb(76, 112, 228);
/* oklch */ color: oklch(58.1% 0.181 267.5);
Tailwind
colors: {
  custom: {
    50: '#8e98ed',
    500: '#4c70e4',
    950: '#000000',
  },
}
SCSS
$custom: #4c70e4;
$custom-light: #8e98ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4c70e4",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 225.789,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58104,
    "c": 0.18057,
    "h": 267.5
  },
  "luminance": 0.18726
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C70E4

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

Preview Lab → · Contrast checker → · Palette generator →

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