#4A71CC#4A71CC

#4A71CC is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.6% C 0.147 H 264.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4A71CC
RGBrgb(74, 113, 204)
HSLhsl(222, 56%, 55%)
HSVhsv(222, 64%, 80%)
CMYKcmyk(63.7%, 44.6%, 0%, 20%)
CIE-LABlab(49.04, 15.19, -51.36)
CIE-LCHlch(49.04, 53.56, 286.48°)
OKLaboklab(56.59% -0.0137 -0.1467)
OKLCHoklch(56.59% 0.147 264.7)
XYZxyz(19.6245, 17.6239, 59.4826)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71CC #CCA54A
analogous
#4AB2CC #4A71CC #644ACC
triadic
#4A71CC #CC4A71 #71CC4A
tetradic
#4A71CC #CC4AB2 #CCA54A #4ACC64
square
#4A71CC #CC4AB2 #CCA54A #4ACC64
split-complementary
#4A71CC #CC644A #B2CC4A
monochromatic
#223C79 #3054A9 #4A71CC #7A96D9 #A9BCE7

Accessibility & contrast

On white

4.64
#4A71CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4A71CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4A71CC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71CC#FFFFFF#000000##FFFFFF
##4A71CC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467BCF
Deuteranopia (green-blind)
#306FCA
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4a71cc;
/* rgb */ color: rgb(74, 113, 204);
/* oklch */ color: oklch(56.6% 0.147 264.7);
Tailwind
colors: {
  custom: {
    50: '#8999dc',
    500: '#4a71cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a71cc;
$custom-light: #8999dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71cc",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 222,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56586,
    "c": 0.14731,
    "h": 264.7
  },
  "luminance": 0.17626
}

Semantic roles & 50–950 ramp

primary
#4A71CC
secondary
#D4C49D
accent
#B248DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4A71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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