#4A71E5#4A71E5

#4A71E5 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.181 H 266.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4A71E5
RGBrgb(74, 113, 229)
HSLhsl(225, 75%, 59%)
HSVhsv(225, 68%, 90%)
CMYKcmyk(67.7%, 50.7%, 0%, 10.2%)
CIE-LABlab(50.59, 23.93, -63.03)
CIE-LCHlch(50.59, 67.42, 290.79°)
OKLaboklab(58.28% -0.0103 -0.181)
OKLCHoklch(58.28% 0.181 266.7)
XYZxyz(22.8671, 18.9210, 76.5606)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71E5 #E5BE4A
analogous
#4ABFE5 #4A71E5 #714AE5
triadic
#4A71E5 #E54A71 #71E54A
tetradic
#4A71E5 #E54ABF #E5BE4A #4AE571
square
#4A71E5 #E54ABF #E5BE4A #4AE571
split-complementary
#4A71E5 #E5714A #BFE54A
monochromatic
#17399E #1E4CD3 #4A71E5 #809BED #B5C5F4

Accessibility & contrast

On white

4.39
#4A71E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4A71E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A71E5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71E5#FFFFFF#000000##000000
##4A71E51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B80E9
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a71e5;
/* rgb */ color: rgb(74, 113, 229);
/* oklch */ color: oklch(58.3% 0.181 266.7);
Tailwind
colors: {
  custom: {
    50: '#8d99ee',
    500: '#4a71e5',
    950: '#000000',
  },
}
SCSS
$custom: #4a71e5;
$custom-light: #8d99ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71e5",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 224.903,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58275,
    "c": 0.18129,
    "h": 266.7
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#4A71E5
secondary
#E4D4A7
accent
#C236F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4A71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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