#4C71CA#4C71CA

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

Color values

HEX#4C71CA
RGBrgb(76, 113, 202)
HSLhsl(222, 54%, 55%)
HSVhsv(222, 62%, 79%)
CMYKcmyk(62.4%, 44.1%, 0%, 20.8%)
CIE-LABlab(49.02, 14.86, -50.24)
CIE-LCHlch(49.02, 52.39, 286.47°)
OKLaboklab(56.56% -0.0122 -0.1433)
OKLCHoklch(56.56% 0.144 265.1)
XYZxyz(19.5426, 17.6093, 58.2347)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71CA #CAA54C
analogous
#4CB0CA #4C71CA #664CCA
triadic
#4C71CA #CA4C71 #71CA4C
tetradic
#4C71CA #CA4CB0 #CAA54C #4CCA66
square
#4C71CA #CA4CB0 #CAA54C #4CCA66
split-complementary
#4C71CA #CA664C #B0CA4C
monochromatic
#243C78 #3254A7 #4C71CA #7B96D8 #AABCE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C71CA#FFFFFF#000000##FFFFFF
##4C71CA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#477BCD
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4c71ca;
/* rgb */ color: rgb(76, 113, 202);
/* oklch */ color: oklch(56.6% 0.144 265.1);
Tailwind
colors: {
  custom: {
    50: '#8999db',
    500: '#4c71ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c71ca;
$custom-light: #8999db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71ca",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 222.381,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56561,
    "c": 0.14387,
    "h": 265.1
  },
  "luminance": 0.17611
}

Semantic roles & 50–950 ramp

primary
#4C71CA
secondary
#D4C49E
accent
#B24ADE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0D15
muted
#7D7E83

Preview Lab

Preview with #4C71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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