#4A7AE9#4A7AE9

#4A7AE9 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.4% C 0.176 H 264.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4A7AE9
RGBrgb(74, 122, 233)
HSLhsl(222, 78%, 60%)
HSVhsv(222, 68%, 91%)
CMYKcmyk(68.2%, 47.6%, 0%, 8.6%)
CIE-LABlab(53.23, 19.75, -61.03)
CIE-LCHlch(53.23, 64.14, 287.94°)
OKLaboklab(60.36% -0.0177 -0.175)
OKLCHoklch(60.36% 0.176 264.2)
XYZxyz(24.4864, 21.2556, 79.8873)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7AE9 #E9B94A
analogous
#4AC9E9 #4A7AE9 #6A4AE9
triadic
#4A7AE9 #E94A7A #7AE94A
tetradic
#4A7AE9 #E94AC9 #E9B94A #4AE96A
square
#4A7AE9 #E94AC9 #E9B94A #4AE96A
split-complementary
#4A7AE9 #E96A4A #C9E94A
monochromatic
#1440A5 #1B55DB #4A7AE9 #81A2F0 #B7CAF6

Accessibility & contrast

On white

4.00
#4A7AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4A7AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7AE9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7AE9#FFFFFF#000000##000000
##4A7AE91.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E87ED
Deuteranopia (green-blind)
#1478E7
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7ae9;
/* rgb */ color: rgb(74, 122, 233);
/* oklch */ color: oklch(60.4% 0.176 264.2);
Tailwind
colors: {
  custom: {
    50: '#8e9ff1',
    500: '#4a7ae9',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ae9;
$custom-light: #8e9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ae9",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 233
  },
  "hsl": {
    "h": 221.887,
    "s": 78.325,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60362,
    "c": 0.17586,
    "h": 264.2
  },
  "luminance": 0.21258
}

Semantic roles & 50–950 ramp

primary
#4A7AE9
secondary
#E6D3A9
accent
#9C0BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4A7AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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