#4771CD#4771CD

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

Color values

HEX#4771CD
RGBrgb(71, 113, 205)
HSLhsl(221, 57%, 54%)
HSVhsv(221, 65%, 80%)
CMYKcmyk(65.4%, 44.9%, 0%, 19.6%)
CIE-LABlab(48.95, 15.02, -52.08)
CIE-LCHlch(48.95, 54.20, 286.09°)
OKLaboklab(56.5% -0.0161 -0.1488)
OKLCHoklch(56.5% 0.15 263.8)
XYZxyz(19.5193, 17.5558, 60.1057)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4771CD #CDA347
analogous
#47B4CD #4771CD #6047CD
triadic
#4771CD #CD4771 #71CD47
tetradic
#4771CD #CD47B4 #CDA347 #47CD60
square
#4771CD #CD47B4 #CDA347 #47CD60
split-complementary
#4771CD #CD6047 #B4CD47
monochromatic
#213C79 #2E54A9 #4771CD #7796DA #A7BBE7

Accessibility & contrast

On white

4.65
#4771CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4771CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4771CD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4771CD#FFFFFF#000000##FFFFFF
##4771CD1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447BD0
Deuteranopia (green-blind)
#2D6FCB
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4771cd;
/* rgb */ color: rgb(71, 113, 205);
/* oklch */ color: oklch(56.5% 0.150 263.8);
Tailwind
colors: {
  custom: {
    50: '#8899dd',
    500: '#4771cd',
    950: '#000000',
  },
}
SCSS
$custom: #4771cd;
$custom-light: #8899dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4771cd",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 221.194,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56501,
    "c": 0.1497,
    "h": 263.8
  },
  "luminance": 0.17558
}

Semantic roles & 50–950 ramp

primary
#4771CD
secondary
#D4C39B
accent
#B047E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4771CD

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

Preview Lab → · Contrast checker → · Palette generator →

#4771CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva