#4A71E1#4A71E1

#4A71E1 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.0% C 0.176 H 266.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4A71E1
RGBrgb(74, 113, 225)
HSLhsl(225, 72%, 59%)
HSVhsv(225, 67%, 88%)
CMYKcmyk(67.1%, 49.8%, 0%, 11.8%)
CIE-LABlab(50.33, 22.53, -61.20)
CIE-LCHlch(50.33, 65.21, 290.21°)
OKLaboklab(57.99% -0.0108 -0.1756)
OKLCHoklch(57.99% 0.176 266.5)
XYZxyz(22.3151, 18.7002, 73.6530)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71E1 #E1BA4A
analogous
#4ABDE1 #4A71E1 #6E4AE1
triadic
#4A71E1 #E14A71 #71E14A
tetradic
#4A71E1 #E14ABD #E1BA4A #4AE16E
square
#4A71E1 #E14ABD #E1BA4A #4AE16E
split-complementary
#4A71E1 #E16E4A #BDE14A
monochromatic
#193A97 #224ECC #4A71E1 #7E9AEA #B3C3F2

Accessibility & contrast

On white

4.43
#4A71E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#4A71E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A71E1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71E1#FFFFFF#000000##000000
##4A71E11.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#307FE5
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4a71e1;
/* rgb */ color: rgb(74, 113, 225);
/* oklch */ color: oklch(58.0% 0.176 266.5);
Tailwind
colors: {
  custom: {
    50: '#8c99eb',
    500: '#4a71e1',
    950: '#000000',
  },
}
SCSS
$custom: #4a71e1;
$custom-light: #8c99eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71e1",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 224.503,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57994,
    "c": 0.17593,
    "h": 266.5
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#4A71E1
secondary
#E1D2A6
accent
#C039EE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4A71E1

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

Preview Lab → · Contrast checker → · Palette generator →

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