#4771CB#4771CB

#4771CB is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.147 H 263.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4771CB
RGBrgb(71, 113, 203)
HSLhsl(221, 56%, 54%)
HSVhsv(221, 65%, 80%)
CMYKcmyk(65%, 44.3%, 0%, 20.4%)
CIE-LABlab(48.83, 14.32, -51.12)
CIE-LCHlch(48.83, 53.09, 285.65°)
OKLaboklab(56.37% -0.0165 -0.146)
OKLCHoklch(56.37% 0.147 263.6)
XYZxyz(19.2794, 17.4598, 58.8424)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4771CB #CBA147
analogous
#47B3CB #4771CB #5F47CB
triadic
#4771CB #CB4771 #71CB47
tetradic
#4771CB #CB47B3 #CBA147 #47CB5F
square
#4771CB #CB47B3 #CBA147 #47CB5F
split-complementary
#4771CB #CB5F47 #B3CB47
monochromatic
#213C76 #2F55A6 #4771CB #7796D8 #A6BBE6

Accessibility & contrast

On white

4.67
#4771CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4771CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4771CB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4771CB#FFFFFF#000000##FFFFFF
##4771CB1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4771cb;
/* rgb */ color: rgb(71, 113, 203);
/* oklch */ color: oklch(56.4% 0.147 263.6);
Tailwind
colors: {
  custom: {
    50: '#8799db',
    500: '#4771cb',
    950: '#000000',
  },
}
SCSS
$custom: #4771cb;
$custom-light: #8799db;
$custom-dark: #000000;
JSON
{
  "hex": "#4771cb",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 220.909,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56372,
    "c": 0.14696,
    "h": 263.6
  },
  "luminance": 0.17462
}

Semantic roles & 50–950 ramp

primary
#4771CB
secondary
#D3C19B
accent
#AF49DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4771CB

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

Preview Lab → · Contrast checker → · Palette generator →

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