#477BCB#477BCB

#477BCB is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.5% C 0.135 H 258.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#477BCB
RGBrgb(71, 123, 203)
HSLhsl(216, 56%, 54%)
HSVhsv(216, 65%, 80%)
CMYKcmyk(65%, 39.4%, 0%, 20.4%)
CIE-LABlab(51.63, 8.14, -46.67)
CIE-LCHlch(51.63, 47.37, 279.90°)
OKLaboklab(58.53% -0.0264 -0.1328)
OKLCHoklch(58.53% 0.135 258.8)
XYZxyz(20.4571, 19.8153, 59.2350)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477BCB #CB9747
analogous
#47BDCB #477BCB #5547CB
triadic
#477BCB #CB477B #7BCB47
tetradic
#477BCB #CB47BD #CB9747 #47CB55
square
#477BCB #CB47BD #CB9747 #47CB55
split-complementary
#477BCB #CB5547 #BDCB47
monochromatic
#214376 #2F5EA6 #477BCB #779DD8 #A6BFE6

Accessibility & contrast

On white

4.23
#477BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#477BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #477BCB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477BCB#FFFFFF#000000##000000
##477BCB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CE
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #477bcb;
/* rgb */ color: rgb(71, 123, 203);
/* oklch */ color: oklch(58.5% 0.135 258.8);
Tailwind
colors: {
  custom: {
    50: '#87a0db',
    500: '#477bcb',
    950: '#000000',
  },
}
SCSS
$custom: #477bcb;
$custom-light: #87a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#477bcb",
  "rgb": {
    "r": 71,
    "g": 123,
    "b": 203
  },
  "hsl": {
    "h": 216.364,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5853,
    "c": 0.13542,
    "h": 258.8
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#477BCB
secondary
#D3BD9B
accent
#A449DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #477BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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