#4A71D8#4A71D8

#4A71D8 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.164 H 265.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4A71D8
RGBrgb(74, 113, 216)
HSLhsl(224, 65%, 57%)
HSVhsv(224, 66%, 85%)
CMYKcmyk(65.7%, 47.7%, 0%, 15.3%)
CIE-LABlab(49.76, 19.38, -57.03)
CIE-LCHlch(49.76, 60.23, 288.77°)
OKLaboklab(57.38% -0.0119 -0.1633)
OKLCHoklch(57.38% 0.164 265.8)
XYZxyz(21.1195, 18.2220, 67.3566)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71D8 #D8B14A
analogous
#4AB8D8 #4A71D8 #6A4AD8
triadic
#4A71D8 #D84A71 #71D84A
tetradic
#4A71D8 #D84AB8 #D8B14A #4AD86A
square
#4A71D8 #D84AB8 #D8B14A #4AD86A
split-complementary
#4A71D8 #D86A4A #B8D84A
monochromatic
#1E3B8A #2951BC #4A71D8 #7C99E3 #AFC0EE

Accessibility & contrast

On white

4.52
#4A71D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4A71D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A71D8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71D8#FFFFFF#000000##000000
##4A71D81.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7DDC
Deuteranopia (green-blind)
#1B70D6
Tritanopia (blue-blind)
#00899A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4a71d8;
/* rgb */ color: rgb(74, 113, 216);
/* oklch */ color: oklch(57.4% 0.164 265.8);
Tailwind
colors: {
  custom: {
    50: '#8b99e5',
    500: '#4a71d8',
    950: '#000000',
  },
}
SCSS
$custom: #4a71d8;
$custom-light: #8b99e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71d8",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 223.521,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57377,
    "c": 0.16376,
    "h": 265.8
  },
  "luminance": 0.18224
}

Semantic roles & 50–950 ramp

primary
#4A71D8
secondary
#DCCCA2
accent
#BA40E8
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4A71D8

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

Preview Lab → · Contrast checker → · Palette generator →

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