#4C70E2#4C70E2

#4C70E2 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.0% C 0.178 H 267.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4C70E2
RGBrgb(76, 112, 226)
HSLhsl(226, 72%, 59%)
HSVhsv(226, 66%, 89%)
CMYKcmyk(66.4%, 50.4%, 0%, 11.4%)
CIE-LABlab(50.23, 23.81, -61.92)
CIE-LCHlch(50.23, 66.34, 291.03°)
OKLaboklab(57.96% -0.008 -0.1777)
OKLCHoklch(57.96% 0.178 267.4)
XYZxyz(22.4974, 18.6137, 74.3439)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C70E2 #E2BE4C
analogous
#4CBBE2 #4C70E2 #734CE2
triadic
#4C70E2 #E24C70 #70E24C
tetradic
#4C70E2 #E24CBB #E2BE4C #4CE273
square
#4C70E2 #E24CBB #E2BE4C #4CE273
split-complementary
#4C70E2 #E2734C #BBE24C
monochromatic
#19389B #224BCF #4C70E2 #819AEB #B5C4F3

Accessibility & contrast

On white

4.45
#4C70E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4C70E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C70E2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C70E2#FFFFFF#000000##000000
##4C70E21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7FE6
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c70e2;
/* rgb */ color: rgb(76, 112, 226);
/* oklch */ color: oklch(58.0% 0.178 267.4);
Tailwind
colors: {
  custom: {
    50: '#8e98ec',
    500: '#4c70e2',
    950: '#000000',
  },
}
SCSS
$custom: #4c70e2;
$custom-light: #8e98ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4c70e2",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 226
  },
  "hsl": {
    "h": 225.6,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57963,
    "c": 0.17789,
    "h": 267.4
  },
  "luminance": 0.18616
}

Semantic roles & 50–950 ramp

primary
#4C70E2
secondary
#E2D4A8
accent
#C339EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4C70E2

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

Preview Lab → · Contrast checker → · Palette generator →

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