#4A71E8#4A71E8

#4A71E8 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.5% C 0.185 H 266.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4A71E8
RGBrgb(74, 113, 232)
HSLhsl(225, 77%, 60%)
HSVhsv(225, 68%, 91%)
CMYKcmyk(68.1%, 51.3%, 0%, 9%)
CIE-LABlab(50.79, 24.98, -64.39)
CIE-LCHlch(50.79, 69.07, 291.20°)
OKLaboklab(58.49% -0.0101 -0.185)
OKLCHoklch(58.49% 0.185 266.9)
XYZxyz(23.2896, 19.0900, 78.7856)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71E8 #E8C14A
analogous
#4AC0E8 #4A71E8 #724AE8
triadic
#4A71E8 #E84A71 #71E84A
tetradic
#4A71E8 #E84AC0 #E8C14A #4AE872
square
#4A71E8 #E84AC0 #E8C14A #4AE872
split-complementary
#4A71E8 #E8724A #C0E84A
monochromatic
#1538A3 #1C4AD9 #4A71E8 #809CEF #B7C6F6

Accessibility & contrast

On white

4.36
#4A71E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4A71E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A71E8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71E8#FFFFFF#000000##000000
##4A71E81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2581EC
Deuteranopia (green-blind)
#0072E6
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4a71e8;
/* rgb */ color: rgb(74, 113, 232);
/* oklch */ color: oklch(58.5% 0.185 266.9);
Tailwind
colors: {
  custom: {
    50: '#8e99f0',
    500: '#4a71e8',
    950: '#000000',
  },
}
SCSS
$custom: #4a71e8;
$custom-light: #8e99f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71e8",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 225.19,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.18528,
    "h": 266.9
  },
  "luminance": 0.19092
}

Semantic roles & 50–950 ramp

primary
#4A71E8
secondary
#E5D6A8
accent
#C534F4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4A71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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