#477BCC#477BCC

#477BCC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.6% C 0.137 H 259.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#477BCC
RGBrgb(71, 123, 204)
HSLhsl(217, 57%, 54%)
HSVhsv(217, 65%, 80%)
CMYKcmyk(65.2%, 39.7%, 0%, 20%)
CIE-LABlab(51.68, 8.49, -47.15)
CIE-LCHlch(51.68, 47.91, 280.21°)
OKLaboklab(58.59% -0.0262 -0.1342)
OKLCHoklch(58.59% 0.137 259)
XYZxyz(20.5767, 19.8631, 59.8646)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477BCC #CC9847
analogous
#47BECC #477BCC #5647CC
triadic
#477BCC #CC477B #7BCC47
tetradic
#477BCC #CC47BE #CC9847 #47CC56
square
#477BCC #CC47BE #CC9847 #47CC56
split-complementary
#477BCC #CC5647 #BECC47
monochromatic
#214377 #2E5EA7 #477BCC #779DD9 #A7C0E7

Accessibility & contrast

On white

4.22
#477BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#477BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #477BCC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477BCC#FFFFFF#000000##000000
##477BCC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CF
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #477bcc;
/* rgb */ color: rgb(71, 123, 204);
/* oklch */ color: oklch(58.6% 0.137 259.0);
Tailwind
colors: {
  custom: {
    50: '#87a0dc',
    500: '#477bcc',
    950: '#000000',
  },
}
SCSS
$custom: #477bcc;
$custom-light: #87a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#477bcc",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 216.541,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5859,
    "c": 0.13676,
    "h": 259
  },
  "luminance": 0.19865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #477BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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