#4A71DF#4A71DF

#4A71DF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.9% C 0.173 H 266.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4A71DF
RGBrgb(74, 113, 223)
HSLhsl(224, 70%, 58%)
HSVhsv(224, 67%, 87%)
CMYKcmyk(66.8%, 49.3%, 0%, 12.5%)
CIE-LABlab(50.21, 21.83, -60.28)
CIE-LCHlch(50.21, 64.11, 289.91°)
OKLaboklab(57.86% -0.011 -0.1729)
OKLCHoklch(57.86% 0.173 266.4)
XYZxyz(22.0438, 18.5917, 72.2246)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71DF #DFB84A
analogous
#4ABCDF #4A71DF #6D4ADF
triadic
#4A71DF #DF4A71 #71DF4A
tetradic
#4A71DF #DF4ABC #DFB84A #4ADF6D
square
#4A71DF #DF4ABC #DFB84A #4ADF6D
split-complementary
#4A71DF #DF6D4A #BCDF4A
monochromatic
#1A3A94 #234FC8 #4A71DF #7E9AE8 #B2C3F1

Accessibility & contrast

On white

4.45
#4A71DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4A71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A71DF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71DF#FFFFFF#000000##000000
##4A71DF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#337FE3
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4a71df;
/* rgb */ color: rgb(74, 113, 223);
/* oklch */ color: oklch(57.9% 0.173 266.4);
Tailwind
colors: {
  custom: {
    50: '#8c99ea',
    500: '#4a71df',
    950: '#000000',
  },
}
SCSS
$custom: #4a71df;
$custom-light: #8c99ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71df",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 224.295,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.17324,
    "h": 266.4
  },
  "luminance": 0.18594
}

Semantic roles & 50–950 ramp

primary
#4A71DF
secondary
#E0D1A5
accent
#BE3BED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4A71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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