#4771DC#4771DC

#4771DC is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.5% C 0.170 H 265.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4771DC
RGBrgb(71, 113, 220)
HSLhsl(223, 68%, 57%)
HSVhsv(223, 68%, 86%)
CMYKcmyk(67.7%, 48.6%, 0%, 13.7%)
CIE-LABlab(49.88, 20.31, -59.12)
CIE-LCHlch(49.88, 62.51, 288.96°)
OKLaboklab(57.51% -0.0139 -0.1695)
OKLCHoklch(57.51% 0.17 265.3)
XYZxyz(21.4174, 18.3150, 70.1027)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4771DC #DCB247
analogous
#47BCDC #4771DC #6747DC
triadic
#4771DC #DC4771 #71DC47
tetradic
#4771DC #DC47BC #DCB247 #47DC67
square
#4771DC #DC47BC #DCB247 #47DC67
split-complementary
#4771DC #DC6747 #BCDC47
monochromatic
#1B3B8E #2551C1 #4771DC #7A99E6 #AEC0F0

Accessibility & contrast

On white

4.50
#4771DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4771DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4771DC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4771DC#FFFFFF#000000##000000
##4771DC1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EE0
Deuteranopia (green-blind)
#0770DA
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4771dc;
/* rgb */ color: rgb(71, 113, 220);
/* oklch */ color: oklch(57.5% 0.170 265.3);
Tailwind
colors: {
  custom: {
    50: '#8a99e7',
    500: '#4771dc',
    950: '#000000',
  },
}
SCSS
$custom: #4771dc;
$custom-light: #8a99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4771dc",
  "rgb": {
    "r": 71,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 223.087,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57505,
    "c": 0.17012,
    "h": 265.3
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#4771DC
secondary
#DECDA1
accent
#BA3DEB
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4771DC

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

Preview Lab → · Contrast checker → · Palette generator →

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