#474AA4#474AA4

#474AA4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.142 H 277.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#474AA4
RGBrgb(71, 74, 164)
HSLhsl(238, 40%, 46%)
HSVhsv(238, 57%, 64%)
CMYKcmyk(56.7%, 54.9%, 0%, 35.7%)
CIE-LABlab(35.82, 25.67, -49.22)
CIE-LCHlch(35.82, 55.52, 297.55°)
OKLaboklab(45.69% 0.0191 -0.1409)
OKLCHoklch(45.69% 0.142 277.7)
XYZxyz(11.7460, 8.9167, 36.2169)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474AA4 #A4A147
analogous
#4778A4 #474AA4 #7247A4
triadic
#474AA4 #A4474A #4AA447
tetradic
#474AA4 #A44778 #A4A147 #47A472
square
#474AA4 #A44778 #A4A147 #47A472
split-complementary
#474AA4 #A47247 #78A447
monochromatic
#22234F #353779 #474AA4 #6A6DBE #9596D1

Accessibility & contrast

On white

7.54
#474AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#474AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474AA4
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474AA4#FFFFFF#000000##FFFFFF
##474AA41.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1158A7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#155F6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #474aa4;
/* rgb */ color: rgb(71, 74, 164);
/* oklch */ color: oklch(45.7% 0.142 277.7);
Tailwind
colors: {
  custom: {
    50: '#827cc0',
    500: '#474aa4',
    950: '#000000',
  },
}
SCSS
$custom: #474aa4;
$custom-light: #827cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#474aa4",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 164
  },
  "hsl": {
    "h": 238.065,
    "s": 39.574,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45692,
    "c": 0.14221,
    "h": 277.7
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#474AA4
secondary
#BDBB8A
accent
#CC58CF
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #474AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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