#4A7AE4#4A7AE4

#4A7AE4 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.0% C 0.169 H 263.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4A7AE4
RGBrgb(74, 122, 228)
HSLhsl(221, 74%, 59%)
HSVhsv(221, 68%, 89%)
CMYKcmyk(67.5%, 46.5%, 0%, 10.6%)
CIE-LABlab(52.92, 18.00, -58.72)
CIE-LCHlch(52.92, 61.42, 287.04°)
OKLaboklab(60.03% -0.0184 -0.1682)
OKLCHoklch(60.03% 0.169 263.8)
XYZxyz(23.7822, 20.9740, 76.1788)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7AE4 #E4B44A
analogous
#4AC7E4 #4A7AE4 #674AE4
triadic
#4A7AE4 #E44A7A #7AE44A
tetradic
#4A7AE4 #E44AC7 #E4B44A #4AE467
square
#4A7AE4 #E44AC7 #E4B44A #4AE467
split-complementary
#4A7AE4 #E4674A #C7E44A
monochromatic
#17419C #1F57D2 #4A7AE4 #7FA1EC #B5C8F4

Accessibility & contrast

On white

4.04
#4A7AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4A7AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7AE4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7AE4#FFFFFF#000000##000000
##4A7AE41.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4386E8
Deuteranopia (green-blind)
#2278E2
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7ae4;
/* rgb */ color: rgb(74, 122, 228);
/* oklch */ color: oklch(60.0% 0.169 263.8);
Tailwind
colors: {
  custom: {
    50: '#8d9fed',
    500: '#4a7ae4',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ae4;
$custom-light: #8d9fed;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ae4",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 228
  },
  "hsl": {
    "h": 221.299,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60028,
    "c": 0.16918,
    "h": 263.8
  },
  "luminance": 0.20976
}

Semantic roles & 50–950 ramp

primary
#4A7AE4
secondary
#E3D0A7
accent
#B737F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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