#4A71E2#4A71E2

#4A71E2 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.177 H 266.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4A71E2
RGBrgb(74, 113, 226)
HSLhsl(225, 72%, 59%)
HSVhsv(225, 67%, 89%)
CMYKcmyk(67.3%, 50%, 0%, 11.4%)
CIE-LABlab(50.40, 22.88, -61.66)
CIE-LCHlch(50.40, 65.76, 290.36°)
OKLaboklab(58.06% -0.0107 -0.1769)
OKLCHoklch(58.06% 0.177 266.6)
XYZxyz(22.4519, 18.7549, 74.3736)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71E2 #E2BB4A
analogous
#4ABDE2 #4A71E2 #6F4AE2
triadic
#4A71E2 #E24A71 #71E24A
tetradic
#4A71E2 #E24ABD #E2BB4A #4AE26F
square
#4A71E2 #E24ABD #E2BB4A #4AE26F
split-complementary
#4A71E2 #E26F4A #BDE24A
monochromatic
#193A99 #214DCE #4A71E2 #7F9AEA #B3C4F3

Accessibility & contrast

On white

4.42
#4A71E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4A71E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A71E2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71E2#FFFFFF#000000##000000
##4A71E21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7FE6
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a71e2;
/* rgb */ color: rgb(74, 113, 226);
/* oklch */ color: oklch(58.1% 0.177 266.6);
Tailwind
colors: {
  custom: {
    50: '#8d99ec',
    500: '#4a71e2',
    950: '#000000',
  },
}
SCSS
$custom: #4a71e2;
$custom-light: #8d99ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71e2",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 224.605,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58064,
    "c": 0.17727,
    "h": 266.6
  },
  "luminance": 0.18757
}

Semantic roles & 50–950 ramp

primary
#4A71E2
secondary
#E2D2A6
accent
#C039EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4A71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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