#4A71D2#4A71D2

#4A71D2 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.0% C 0.156 H 265.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#4A71D2
RGBrgb(74, 113, 210)
HSLhsl(223, 60%, 56%)
HSVhsv(223, 65%, 82%)
CMYKcmyk(64.8%, 46.2%, 0%, 17.6%)
CIE-LABlab(49.40, 17.28, -54.21)
CIE-LCHlch(49.40, 56.90, 287.68°)
OKLaboklab(56.98% -0.0127 -0.155)
OKLCHoklch(56.98% 0.156 265.3)
XYZxyz(20.3580, 17.9173, 63.3458)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71D2 #D2AB4A
analogous
#4AB5D2 #4A71D2 #674AD2
triadic
#4A71D2 #D24A71 #71D24A
tetradic
#4A71D2 #D24AB5 #D2AB4A #4AD267
square
#4A71D2 #D24AB5 #D2AB4A #4AD267
split-complementary
#4A71D2 #D2674A #B5D24A
monochromatic
#203C81 #2C53B2 #4A71D2 #7B97DE #ACBEEA

Accessibility & contrast

On white

4.58
#4A71D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4A71D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A71D2
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71D2#FFFFFF#000000##000000
##4A71D21.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#417CD6
Deuteranopia (green-blind)
#2770D0
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4a71d2;
/* rgb */ color: rgb(74, 113, 210);
/* oklch */ color: oklch(57.0% 0.156 265.3);
Tailwind
colors: {
  custom: {
    50: '#8a99e0',
    500: '#4a71d2',
    950: '#000000',
  },
}
SCSS
$custom: #4a71d2;
$custom-light: #8a99e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71d2",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 222.794,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56977,
    "c": 0.15557,
    "h": 265.3
  },
  "luminance": 0.17919
}

Semantic roles & 50–950 ramp

primary
#4A71D2
secondary
#D8C8A0
accent
#B644E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4A71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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