#4A70E5#4A70E5

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

Color values

HEX#4A70E5
RGBrgb(74, 112, 229)
HSLhsl(225, 75%, 59%)
HSVhsv(225, 68%, 90%)
CMYKcmyk(67.7%, 51.1%, 0%, 10.2%)
CIE-LABlab(50.33, 24.55, -63.45)
CIE-LCHlch(50.33, 68.04, 291.16°)
OKLaboklab(58.08% -0.0095 -0.1822)
OKLCHoklch(58.08% 0.183 267)
XYZxyz(22.7562, 18.6991, 76.5236)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A70E5 #E5BF4A
analogous
#4ABEE5 #4A70E5 #724AE5
triadic
#4A70E5 #E54A70 #70E54A
tetradic
#4A70E5 #E54ABE #E5BF4A #4AE572
square
#4A70E5 #E54ABE #E5BF4A #4AE572
split-complementary
#4A70E5 #E5724A #BEE54A
monochromatic
#17389E #1E4BD3 #4A70E5 #809AED #B5C5F4

Accessibility & contrast

On white

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

On black

4.74
#4A70E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A70E5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A70E5#FFFFFF#000000##000000
##4A70E51.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#277FE9
Deuteranopia (green-blind)
#0071E3
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a70e5;
/* rgb */ color: rgb(74, 112, 229);
/* oklch */ color: oklch(58.1% 0.182 267.0);
Tailwind
colors: {
  custom: {
    50: '#8d98ee',
    500: '#4a70e5',
    950: '#000000',
  },
}
SCSS
$custom: #4a70e5;
$custom-light: #8d98ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a70e5",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 229
  },
  "hsl": {
    "h": 225.29,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58076,
    "c": 0.1825,
    "h": 267
  },
  "luminance": 0.18701
}

Semantic roles & 50–950 ramp

primary
#4A70E5
secondary
#E4D5A7
accent
#C436F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4A70E5

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

Preview Lab → · Contrast checker → · Palette generator →

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