#4A70EC#4A70EC

#4A70EC is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.6% C 0.192 H 267.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4A70EC
RGBrgb(74, 112, 236)
HSLhsl(226, 81%, 61%)
HSVhsv(226, 69%, 93%)
CMYKcmyk(68.6%, 52.5%, 0%, 7.5%)
CIE-LABlab(50.80, 27.01, -66.62)
CIE-LCHlch(50.80, 71.89, 292.07°)
OKLaboklab(58.58% -0.0089 -0.1916)
OKLCHoklch(58.58% 0.192 267.3)
XYZxyz(23.7533, 19.0979, 81.7751)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A70EC #ECC64A
analogous
#4AC1EC #4A70EC #754AEC
triadic
#4A70EC #EC4A70 #70EC4A
tetradic
#4A70EC #EC4AC1 #ECC64A #4AEC75
square
#4A70EC #EC4AC1 #ECC64A #4AEC75
split-complementary
#4A70EC #EC754A #C1EC4A
monochromatic
#1235AA #1847E1 #4A70EC #819CF2 #B9C8F8

Accessibility & contrast

On white

4.36
#4A70EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4A70EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A70EC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A70EC#FFFFFF#000000##000000
##4A70EC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1881F0
Deuteranopia (green-blind)
#0072EA
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4a70ec;
/* rgb */ color: rgb(74, 112, 236);
/* oklch */ color: oklch(58.6% 0.192 267.3);
Tailwind
colors: {
  custom: {
    50: '#8f98f3',
    500: '#4a70ec',
    950: '#000000',
  },
}
SCSS
$custom: #4a70ec;
$custom-light: #8f98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a70ec",
  "rgb": {
    "r": 74,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 225.926,
    "s": 81,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5858,
    "c": 0.19179,
    "h": 267.3
  },
  "luminance": 0.191
}

Semantic roles & 50–950 ramp

primary
#4A70EC
secondary
#E8D9AA
accent
#AB08DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4A70EC

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

Preview Lab → · Contrast checker → · Palette generator →

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