#4C70DC#4C70DC

#4C70DC is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.5% C 0.170 H 267.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4C70DC
RGBrgb(76, 112, 220)
HSLhsl(225, 67%, 58%)
HSVhsv(225, 65%, 86%)
CMYKcmyk(65.5%, 49.1%, 0%, 13.7%)
CIE-LABlab(49.85, 21.72, -59.15)
CIE-LCHlch(49.85, 63.02, 290.16°)
OKLaboklab(57.55% -0.0086 -0.1696)
OKLCHoklch(57.55% 0.17 267.1)
XYZxyz(21.6885, 18.2901, 70.0836)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C70DC #DCB84C
analogous
#4CB8DC #4C70DC #704CDC
triadic
#4C70DC #DC4C70 #70DC4C
tetradic
#4C70DC #DC4CB8 #DCB84C #4CDC70
square
#4C70DC #DC4CB8 #DCB84C #4CDC70
split-complementary
#4C70DC #DC704C #B8DC4C
monochromatic
#1C3A91 #264EC4 #4C70DC #7F99E6 #B2C2F0

Accessibility & contrast

On white

4.51
#4C70DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4C70DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C70DC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C70DC#FFFFFF#000000##000000
##4C70DC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#347DE0
Deuteranopia (green-blind)
#0970DA
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4c70dc;
/* rgb */ color: rgb(76, 112, 220);
/* oklch */ color: oklch(57.5% 0.170 267.1);
Tailwind
colors: {
  custom: {
    50: '#8d98e7',
    500: '#4c70dc',
    950: '#000000',
  },
}
SCSS
$custom: #4c70dc;
$custom-light: #8d98e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c70dc",
  "rgb": {
    "r": 76,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 225,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57546,
    "c": 0.16979,
    "h": 267.1
  },
  "luminance": 0.18292
}

Semantic roles & 50–950 ramp

primary
#4C70DC
secondary
#DFD0A5
accent
#BF3EEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4C70DC

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

Preview Lab → · Contrast checker → · Palette generator →

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