#4A71CF#4A71CF

#4A71CF is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.8% C 0.151 H 265.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4A71CF
RGBrgb(74, 113, 207)
HSLhsl(222, 58%, 55%)
HSVhsv(222, 64%, 81%)
CMYKcmyk(64.3%, 45.4%, 0%, 18.8%)
CIE-LABlab(49.22, 16.24, -52.79)
CIE-LCHlch(49.22, 55.23, 287.09°)
OKLaboklab(56.78% -0.0132 -0.1509)
OKLCHoklch(56.78% 0.151 265)
XYZxyz(19.9877, 17.7692, 61.3959)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71CF #CFA84A
analogous
#4AB4CF #4A71CF #654ACF
triadic
#4A71CF #CF4A71 #71CF4A
tetradic
#4A71CF #CF4AB4 #CFA84A #4ACF65
square
#4A71CF #CF4AB4 #CFA84A #4ACF65
split-complementary
#4A71CF #CF654A #B4CF4A
monochromatic
#213C7D #2E54AE #4A71CF #7A97DC #ABBDE9

Accessibility & contrast

On white

4.61
#4A71CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4A71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4A71CF
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71CF#FFFFFF#000000##FFFFFF
##4A71CF1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437BD3
Deuteranopia (green-blind)
#2C6FCD
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4a71cf;
/* rgb */ color: rgb(74, 113, 207);
/* oklch */ color: oklch(56.8% 0.151 265.0);
Tailwind
colors: {
  custom: {
    50: '#8999de',
    500: '#4a71cf',
    950: '#000000',
  },
}
SCSS
$custom: #4a71cf;
$custom-light: #8999de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71cf",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 222.406,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5678,
    "c": 0.15145,
    "h": 265
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#4A71CF
secondary
#D6C69F
accent
#B446E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4A71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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