#4A71CB#4A71CB

#4A71CB is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.5% C 0.146 H 264.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4A71CB
RGBrgb(74, 113, 203)
HSLhsl(222, 55%, 54%)
HSVhsv(222, 64%, 80%)
CMYKcmyk(63.5%, 44.3%, 0%, 20.4%)
CIE-LABlab(48.98, 14.84, -50.89)
CIE-LCHlch(48.98, 53.01, 286.26°)
OKLaboklab(56.52% -0.0138 -0.1453)
OKLCHoklch(56.52% 0.146 264.6)
XYZxyz(19.5049, 17.5761, 58.8530)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A71CB #CBA44A
analogous
#4AB2CB #4A71CB #634ACB
triadic
#4A71CB #CB4A71 #71CB4A
tetradic
#4A71CB #CB4AB2 #CBA44A #4ACB63
square
#4A71CB #CB4AB2 #CBA44A #4ACB63
split-complementary
#4A71CB #CB634A #B2CB4A
monochromatic
#233C78 #3054A8 #4A71CB #7A96D9 #A9BCE6

Accessibility & contrast

On white

4.65
#4A71CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4A71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4A71CB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A71CB#FFFFFF#000000##FFFFFF
##4A71CB1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467BCE
Deuteranopia (green-blind)
#316FC9
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4a71cb;
/* rgb */ color: rgb(74, 113, 203);
/* oklch */ color: oklch(56.5% 0.146 264.6);
Tailwind
colors: {
  custom: {
    50: '#8999db',
    500: '#4a71cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a71cb;
$custom-light: #8999db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a71cb",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 221.86,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56521,
    "c": 0.14594,
    "h": 264.6
  },
  "luminance": 0.17578
}

Semantic roles & 50–950 ramp

primary
#4A71CB
secondary
#D4C39D
accent
#B149DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4A71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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