#4A71C2#4A71C2

#4A71C2 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.0% C 0.133 H 263.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4A71C2
RGBrgb(74, 113, 194)
HSLhsl(221, 50%, 53%)
HSVhsv(221, 62%, 76%)
CMYKcmyk(61.9%, 41.8%, 0%, 23.9%)
CIE-LABlab(48.46, 11.73, -46.55)
CIE-LCHlch(48.46, 48.01, 284.14°)
OKLaboklab(55.96% -0.0155 -0.1325)
OKLCHoklch(55.96% 0.133 263.3)
XYZxyz(18.4634, 17.1595, 53.3676)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71C2 #C29B4A
analogous
#4AADC2 #4A71C2 #5F4AC2
triadic
#4A71C2 #C24A71 #71C24A
tetradic
#4A71C2 #C24AAD #C29B4A #4AC25F
square
#4A71C2 #C24AAD #C29B4A #4AC25F
split-complementary
#4A71C2 #C25F4A #ADC24A
monochromatic
#253C6D #34559B #4A71C2 #7895D1 #A6B9E1

Accessibility & contrast

On white

4.74
#4A71C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4A71C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A71C2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71C2#FFFFFF#000000##FFFFFF
##4A71C21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#3B6EC0
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a71c2;
/* rgb */ color: rgb(74, 113, 194);
/* oklch */ color: oklch(56.0% 0.133 263.3);
Tailwind
colors: {
  custom: {
    50: '#8799d5',
    500: '#4a71c2',
    950: '#000000',
  },
}
SCSS
$custom: #4a71c2;
$custom-light: #8799d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71c2",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 220.5,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.13345,
    "h": 263.3
  },
  "luminance": 0.17161
}

Semantic roles & 50–950 ramp

primary
#4A71C2
secondary
#CEBD9A
accent
#AC4FD9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4A71C2

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

Preview Lab → · Contrast checker → · Palette generator →

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