#474EC4#474EC4

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

Color values

HEX#474EC4
RGBrgb(71, 78, 196)
HSLhsl(237, 51%, 52%)
HSVhsv(237, 64%, 77%)
CMYKcmyk(63.8%, 60.2%, 0%, 23.1%)
CIE-LABlab(39.19, 33.98, -62.64)
CIE-LCHlch(39.19, 71.27, 298.48°)
OKLaboklab(48.95% 0.0155 -0.1803)
OKLCHoklch(48.95% 0.181 274.9)
XYZxyz(15.2835, 10.7726, 53.4878)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474EC4 #C4BD47
analogous
#478DC4 #474EC4 #7F47C4
triadic
#474EC4 #C4474E #4EC447
tetradic
#474EC4 #C4478D #C4BD47 #47C47F
square
#474EC4 #C4478D #C4BD47 #47C47F
split-complementary
#474EC4 #C47F47 #8DC447
monochromatic
#23276D #32389C #474EC4 #757BD3 #A4A7E2

Accessibility & contrast

On white

6.66
#474EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#474EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #474EC4
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474EC4#FFFFFF#000000##FFFFFF
##474EC41.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #474ec4;
/* rgb */ color: rgb(71, 78, 196);
/* oklch */ color: oklch(48.9% 0.181 274.9);
Tailwind
colors: {
  custom: {
    50: '#887fd7',
    500: '#474ec4',
    950: '#000000',
  },
}
SCSS
$custom: #474ec4;
$custom-light: #887fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#474ec4",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 236.64,
    "s": 51.44,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48945,
    "c": 0.18101,
    "h": 274.9
  },
  "luminance": 0.10774
}

Semantic roles & 50–950 ramp

primary
#474EC4
secondary
#CFCC98
accent
#D34DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #474EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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