#477FE8#477FE8

#477FE8 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.170 H 261.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#477FE8
RGBrgb(71, 127, 232)
HSLhsl(219, 78%, 59%)
HSVhsv(219, 69%, 91%)
CMYKcmyk(69.4%, 45.3%, 0%, 9%)
CIE-LABlab(54.39, 15.88, -58.61)
CIE-LCHlch(54.39, 60.73, 285.16°)
OKLaboklab(61.2% -0.0246 -0.1678)
OKLCHoklch(61.2% 0.17 261.7)
XYZxyz(24.7482, 22.3420, 79.3364)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477FE8 #E8B047
analogous
#47D0E8 #477FE8 #5F47E8
triadic
#477FE8 #E8477F #7FE847
tetradic
#477FE8 #E847D0 #E8B047 #47E85F
square
#477FE8 #E847D0 #E8B047 #47E85F
split-complementary
#477FE8 #E85F47 #D0E847
monochromatic
#1445A1 #1B5CD7 #477FE8 #7DA5EF #B4CBF6

Accessibility & contrast

On white

3.84
#477FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#477FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #477FE8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477FE8#FFFFFF#000000##000000
##477FE81.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8AEC
Deuteranopia (green-blind)
#297BE6
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #477fe8;
/* rgb */ color: rgb(71, 127, 232);
/* oklch */ color: oklch(61.2% 0.170 261.7);
Tailwind
colors: {
  custom: {
    50: '#8ca3f0',
    500: '#477fe8',
    950: '#000000',
  },
}
SCSS
$custom: #477fe8;
$custom-light: #8ca3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#477fe8",
  "rgb": {
    "r": 71,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 219.13,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61197,
    "c": 0.16963,
    "h": 261.7
  },
  "luminance": 0.22345
}

Semantic roles & 50–950 ramp

primary
#477FE8
secondary
#E5CFA6
accent
#B134F4
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F17
muted
#7E7F85

Preview Lab

Preview with #477FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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