#477BC5#477BC5

#477BC5 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.2% C 0.127 H 257.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#477BC5
RGBrgb(71, 123, 197)
HSLhsl(215, 52%, 53%)
HSVhsv(215, 64%, 77%)
CMYKcmyk(64%, 37.6%, 0%, 22.7%)
CIE-LABlab(51.31, 6.06, -43.76)
CIE-LCHlch(51.31, 44.17, 277.89°)
OKLaboklab(58.18% -0.0278 -0.1243)
OKLCHoklch(58.18% 0.127 257.4)
XYZxyz(19.7559, 19.5348, 55.5420)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477BC5 #C59147
analogous
#47BAC5 #477BC5 #5247C5
triadic
#477BC5 #C5477B #7BC547
tetradic
#477BC5 #C547BA #C59147 #47C552
square
#477BC5 #C547BA #C59147 #47C552
split-complementary
#477BC5 #C55247 #BAC547
monochromatic
#23426F #325E9D #477BC5 #769CD4 #A4BEE2

Accessibility & contrast

On white

4.28
#477BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#477BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #477BC5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477BC5#FFFFFF#000000##000000
##477BC51.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B81C8
Deuteranopia (green-blind)
#4975C3
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #477bc5;
/* rgb */ color: rgb(71, 123, 197);
/* oklch */ color: oklch(58.2% 0.127 257.4);
Tailwind
colors: {
  custom: {
    50: '#86a0d7',
    500: '#477bc5',
    950: '#000000',
  },
}
SCSS
$custom: #477bc5;
$custom-light: #86a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#477bc5",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 215.238,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58176,
    "c": 0.12736,
    "h": 257.4
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

primary
#477BC5
secondary
#CFB999
accent
#A04CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #477BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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