#4A7AE7#4A7AE7

#4A7AE7 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.173 H 264.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4A7AE7
RGBrgb(74, 122, 231)
HSLhsl(222, 77%, 60%)
HSVhsv(222, 68%, 91%)
CMYKcmyk(68%, 47.2%, 0%, 9.4%)
CIE-LABlab(53.10, 19.05, -60.11)
CIE-LCHlch(53.10, 63.05, 287.59°)
OKLaboklab(60.23% -0.018 -0.1723)
OKLCHoklch(60.23% 0.173 264)
XYZxyz(24.2023, 21.1420, 78.3911)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7AE7 #E7B74A
analogous
#4AC9E7 #4A7AE7 #694AE7
triadic
#4A7AE7 #E74A7A #7AE74A
tetradic
#4A7AE7 #E74AC9 #E7B74A #4AE769
square
#4A7AE7 #E74AC9 #E7B74A #4AE769
split-complementary
#4A7AE7 #E7694A #C9E74A
monochromatic
#1540A1 #1D56D7 #4A7AE7 #80A2EE #B6C9F5

Accessibility & contrast

On white

4.02
#4A7AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4A7AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A7AE7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7AE7#FFFFFF#000000##000000
##4A7AE71.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4086EB
Deuteranopia (green-blind)
#1A78E5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4a7ae7;
/* rgb */ color: rgb(74, 122, 231);
/* oklch */ color: oklch(60.2% 0.173 264.0);
Tailwind
colors: {
  custom: {
    50: '#8d9fef',
    500: '#4a7ae7',
    950: '#000000',
  },
}
SCSS
$custom: #4a7ae7;
$custom-light: #8d9fef;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7ae7",
  "rgb": {
    "r": 74,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 221.656,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60228,
    "c": 0.1732,
    "h": 264
  },
  "luminance": 0.21144
}

Semantic roles & 50–950 ramp

primary
#4A7AE7
secondary
#E5D2A8
accent
#B935F3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4A7AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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