#4A7EE4#4A7EE4

#4A7EE4 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.9% C 0.165 H 262.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4A7EE4
RGBrgb(74, 126, 228)
HSLhsl(220, 74%, 59%)
HSVhsv(220, 68%, 89%)
CMYKcmyk(67.5%, 44.7%, 0%, 10.6%)
CIE-LABlab(54.00, 15.54, -56.99)
CIE-LCHlch(54.00, 59.07, 285.25°)
OKLaboklab(60.86% -0.022 -0.163)
OKLCHoklch(60.86% 0.165 262.3)
XYZxyz(24.2835, 21.9766, 76.3459)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7EE4 #E4B04A
analogous
#4ACBE4 #4A7EE4 #634AE4
triadic
#4A7EE4 #E44A7E #7EE44A
tetradic
#4A7EE4 #E44ACB #E4B04A #4AE463
square
#4A7EE4 #E44ACB #E4B04A #4AE463
split-complementary
#4A7EE4 #E4634A #CBE44A
monochromatic
#17449C #1F5BD2 #4A7EE4 #7FA4EC #B5CAF4

Accessibility & contrast

On white

3.89
#4A7EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4A7EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7EE4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7EE4#FFFFFF#000000##000000
##4A7EE41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B89E8
Deuteranopia (green-blind)
#2E7AE2
Tritanopia (blue-blind)
#0096A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a7ee4;
/* rgb */ color: rgb(74, 126, 228);
/* oklch */ color: oklch(60.9% 0.165 262.3);
Tailwind
colors: {
  custom: {
    50: '#8da2ed',
    500: '#4a7ee4',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ee4;
$custom-light: #8da2ed;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ee4",
  "rgb": {
    "r": 74,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 219.74,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60858,
    "c": 0.1645,
    "h": 262.3
  },
  "luminance": 0.21979
}

Semantic roles & 50–950 ramp

primary
#4A7EE4
secondary
#E3CFA7
accent
#B237F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4A7EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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