#477CE4#477CE4

#477CE4 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.3% C 0.168 H 262.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#477CE4
RGBrgb(71, 124, 228)
HSLhsl(220, 74%, 59%)
HSVhsv(220, 69%, 89%)
CMYKcmyk(68.9%, 45.6%, 0%, 10.6%)
CIE-LABlab(53.33, 16.31, -58.06)
CIE-LCHlch(53.33, 60.31, 285.69°)
OKLaboklab(60.31% -0.0226 -0.1663)
OKLCHoklch(60.31% 0.168 262.3)
XYZxyz(23.8048, 21.3539, 76.2509)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#477CE4 #E4AF47
analogous
#47CBE4 #477CE4 #6047E4
triadic
#477CE4 #E4477C #7CE447
tetradic
#477CE4 #E447CB #E4AF47 #47E460
square
#477CE4 #E447CB #E4AF47 #47E460
split-complementary
#477CE4 #E46047 #CBE447
monochromatic
#17439A #1E5ACF #477CE4 #7CA2EC #B2C8F4

Accessibility & contrast

On white

3.98
#477CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#477CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #477CE4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##477CE4#FFFFFF#000000##000000
##477CE41.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4787E8
Deuteranopia (green-blind)
#2679E2
Tritanopia (blue-blind)
#0094A5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #477ce4;
/* rgb */ color: rgb(71, 124, 228);
/* oklch */ color: oklch(60.3% 0.168 262.3);
Tailwind
colors: {
  custom: {
    50: '#8ba1ed',
    500: '#477ce4',
    950: '#000000',
  },
}
SCSS
$custom: #477ce4;
$custom-light: #8ba1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#477ce4",
  "rgb": {
    "r": 71,
    "g": 124,
    "b": 228
  },
  "hsl": {
    "h": 219.745,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60311,
    "c": 0.1678,
    "h": 262.3
  },
  "luminance": 0.21356
}

Semantic roles & 50–950 ramp

primary
#477CE4
secondary
#E2CDA4
accent
#B237F1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #477CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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