#477ACC#477ACC

#477ACC is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.4% C 0.138 H 259.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#477ACC
RGBrgb(71, 122, 204)
HSLhsl(217, 57%, 54%)
HSVhsv(217, 65%, 80%)
CMYKcmyk(65.2%, 40.2%, 0%, 20%)
CIE-LABlab(51.40, 9.11, -47.60)
CIE-LCHlch(51.40, 48.46, 280.83°)
OKLaboklab(58.37% -0.0252 -0.1356)
OKLCHoklch(58.37% 0.138 259.5)
XYZxyz(20.4533, 19.6163, 59.8235)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477ACC #CC9947
analogous
#47BDCC #477ACC #5747CC
triadic
#477ACC #CC477A #7ACC47
tetradic
#477ACC #CC47BD #CC9947 #47CC57
square
#477ACC #CC47BD #CC9947 #47CC57
split-complementary
#477ACC #CC5747 #BDCC47
monochromatic
#214277 #2E5DA7 #477ACC #779DD9 #A7BFE7

Accessibility & contrast

On white

4.27
#477ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#477ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #477ACC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477ACC#FFFFFF#000000##000000
##477ACC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CF
Deuteranopia (green-blind)
#4175CA
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #477acc;
/* rgb */ color: rgb(71, 122, 204);
/* oklch */ color: oklch(58.4% 0.138 259.5);
Tailwind
colors: {
  custom: {
    50: '#87a0dc',
    500: '#477acc',
    950: '#000000',
  },
}
SCSS
$custom: #477acc;
$custom-light: #87a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#477acc",
  "rgb": {
    "r": 71,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 216.992,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58372,
    "c": 0.13788,
    "h": 259.5
  },
  "luminance": 0.19618
}

Semantic roles & 50–950 ramp

primary
#477ACC
secondary
#D4BE9B
accent
#A648E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #477ACC

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

Preview Lab → · Contrast checker → · Palette generator →

#477ACC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva