#4A70DC#4A70DC

#4A70DC is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.170 H 266.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4A70DC
RGBrgb(74, 112, 220)
HSLhsl(224, 68%, 58%)
HSVhsv(224, 66%, 86%)
CMYKcmyk(66.4%, 49.1%, 0%, 13.7%)
CIE-LABlab(49.75, 21.40, -59.32)
CIE-LCHlch(49.75, 63.06, 289.84°)
OKLaboklab(57.45% -0.0104 -0.1701)
OKLCHoklch(57.45% 0.17 266.5)
XYZxyz(21.5320, 18.2094, 70.0763)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A70DC #DCB64A
analogous
#4AB9DC #4A70DC #6D4ADC
triadic
#4A70DC #DC4A70 #70DC4A
tetradic
#4A70DC #DC4AB9 #DCB64A #4ADC6D
square
#4A70DC #DC4AB9 #DCB64A #4ADC6D
split-complementary
#4A70DC #DC6D4A #B9DC4A
monochromatic
#1C3A90 #264FC3 #4A70DC #7D99E6 #B1C1F0

Accessibility & contrast

On white

4.52
#4A70DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4A70DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A70DC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A70DC#FFFFFF#000000##000000
##4A70DC1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a70dc;
/* rgb */ color: rgb(74, 112, 220);
/* oklch */ color: oklch(57.4% 0.170 266.5);
Tailwind
colors: {
  custom: {
    50: '#8c98e7',
    500: '#4a70dc',
    950: '#000000',
  },
}
SCSS
$custom: #4a70dc;
$custom-light: #8c98e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a70dc",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 224.384,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57446,
    "c": 0.1704,
    "h": 266.5
  },
  "luminance": 0.18211
}

Semantic roles & 50–950 ramp

primary
#4A70DC
secondary
#DECFA4
accent
#BD3DEA
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4A70DC

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

Preview Lab → · Contrast checker → · Palette generator →

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