#474AA5#474AA5

#474AA5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.144 H 277.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#474AA5
RGBrgb(71, 74, 165)
HSLhsl(238, 40%, 46%)
HSVhsv(238, 57%, 65%)
CMYKcmyk(57%, 55.2%, 0%, 35.3%)
CIE-LABlab(35.89, 26.01, -49.71)
CIE-LCHlch(35.89, 56.10, 297.62°)
OKLaboklab(45.77% 0.0192 -0.1423)
OKLCHoklch(45.77% 0.144 277.7)
XYZxyz(11.8367, 8.9530, 36.6944)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474AA5 #A5A247
analogous
#4779A5 #474AA5 #7347A5
triadic
#474AA5 #A5474A #4AA547
tetradic
#474AA5 #A54779 #A5A247 #47A573
square
#474AA5 #A54779 #A5A247 #47A573
split-complementary
#474AA5 #A57347 #79A547
monochromatic
#22244F #35377A #474AA5 #6A6DBF #9597D1

Accessibility & contrast

On white

7.52
#474AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#474AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474AA5
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474AA5#FFFFFF#000000##FFFFFF
##474AA51.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F58A8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#135F70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #474aa5;
/* rgb */ color: rgb(71, 74, 165);
/* oklch */ color: oklch(45.8% 0.144 277.7);
Tailwind
colors: {
  custom: {
    50: '#827cc0',
    500: '#474aa5',
    950: '#000000',
  },
}
SCSS
$custom: #474aa5;
$custom-light: #827cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#474aa5",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 238.085,
    "s": 39.831,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.14363,
    "h": 277.7
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#474AA5
secondary
#BDBC8B
accent
#CC58D0
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #474AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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