#474EC5#474EC5

#474EC5 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.0% C 0.182 H 274.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#474EC5
RGBrgb(71, 78, 197)
HSLhsl(237, 52%, 53%)
HSVhsv(237, 64%, 77%)
CMYKcmyk(64%, 60.4%, 0%, 22.7%)
CIE-LABlab(39.27, 34.32, -63.10)
CIE-LCHlch(39.27, 71.83, 298.54°)
OKLaboklab(49.03% 0.0155 -0.1817)
OKLCHoklch(49.03% 0.182 274.9)
XYZxyz(15.3977, 10.8183, 54.0892)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474EC5 #C5BE47
analogous
#478DC5 #474EC5 #7F47C5
triadic
#474EC5 #C5474E #4EC547
tetradic
#474EC5 #C5478D #C5BE47 #47C57F
square
#474EC5 #C5478D #C5BE47 #47C57F
split-complementary
#474EC5 #C57F47 #8DC547
monochromatic
#23276F #32389D #474EC5 #767BD4 #A4A8E2

Accessibility & contrast

On white

6.64
#474EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#474EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #474EC5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474EC5#FFFFFF#000000##FFFFFF
##474EC51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #474ec5;
/* rgb */ color: rgb(71, 78, 197);
/* oklch */ color: oklch(49.0% 0.182 274.9);
Tailwind
colors: {
  custom: {
    50: '#887fd7',
    500: '#474ec5',
    950: '#000000',
  },
}
SCSS
$custom: #474ec5;
$custom-light: #887fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#474ec5",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 236.667,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49026,
    "c": 0.18235,
    "h": 274.9
  },
  "luminance": 0.1082
}

Semantic roles & 50–950 ramp

primary
#474EC5
secondary
#CFCC99
accent
#D44CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #474EC5

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

Preview Lab → · Contrast checker → · Palette generator →

#474EC5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva