#4A7AE2#4A7AE2

#4A7AE2 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.9% C 0.167 H 263.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4A7AE2
RGBrgb(74, 122, 226)
HSLhsl(221, 72%, 59%)
HSVhsv(221, 67%, 89%)
CMYKcmyk(67.3%, 46%, 0%, 11.4%)
CIE-LABlab(52.80, 17.30, -57.79)
CIE-LCHlch(52.80, 60.33, 286.66°)
OKLaboklab(59.9% -0.0187 -0.1655)
OKLCHoklch(59.9% 0.167 263.5)
XYZxyz(23.5062, 20.8636, 74.7250)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7AE2 #E2B24A
analogous
#4AC6E2 #4A7AE2 #664AE2
triadic
#4A7AE2 #E24A7A #7AE24A
tetradic
#4A7AE2 #E24AC6 #E2B24A #4AE266
square
#4A7AE2 #E24AC6 #E2B24A #4AE266
split-complementary
#4A7AE2 #E2664A #C6E24A
monochromatic
#194199 #2158CE #4A7AE2 #7FA1EA #B3C8F3

Accessibility & contrast

On white

4.06
#4A7AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4A7AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7AE2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7AE2#FFFFFF#000000##000000
##4A7AE21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4585E6
Deuteranopia (green-blind)
#2677E0
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4a7ae2;
/* rgb */ color: rgb(74, 122, 226);
/* oklch */ color: oklch(59.9% 0.167 263.5);
Tailwind
colors: {
  custom: {
    50: '#8c9fec',
    500: '#4a7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ae2;
$custom-light: #8c9fec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ae2",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 221.053,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59896,
    "c": 0.1665,
    "h": 263.5
  },
  "luminance": 0.20866
}

Semantic roles & 50–950 ramp

primary
#4A7AE2
secondary
#E2CFA6
accent
#B539EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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