#474C8A#474C8A

#474C8A is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.3% C 0.101 H 277.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#474C8A
RGBrgb(71, 76, 138)
HSLhsl(236, 32%, 41%)
HSVhsv(236, 49%, 54%)
CMYKcmyk(48.6%, 44.9%, 0%, 45.9%)
CIE-LABlab(34.69, 15.73, -35.30)
CIE-LCHlch(34.69, 38.64, 294.02°)
OKLaboklab(44.3% 0.014 -0.1)
OKLCHoklch(44.3% 0.101 277.9)
XYZxyz(9.7690, 8.3429, 25.1354)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474C8A #8A8547
analogous
#476D8A #474C8A #63478A
triadic
#474C8A #8A474C #4C8A47
tetradic
#474C8A #8A476D #8A8547 #478A63
square
#474C8A #8A476D #8A8547 #478A63
split-complementary
#474C8A #8A6347 #6D8A47
monochromatic
#1D1F39 #323662 #474C8A #6166AE #898DC2

Accessibility & contrast

On white

7.87
#474C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#474C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474C8A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474C8A#FFFFFF#000000##FFFFFF
##474C8A1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#2E4F89
Tritanopia (blue-blind)
#2F5964
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #474c8a;
/* rgb */ color: rgb(71, 76, 138);
/* oklch */ color: oklch(44.3% 0.101 277.9);
Tailwind
colors: {
  custom: {
    50: '#7e7dac',
    500: '#474c8a',
    950: '#000000',
  },
}
SCSS
$custom: #474c8a;
$custom-light: #7e7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#474c8a",
  "rgb": {
    "r": 71,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 235.522,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44297,
    "c": 0.10097,
    "h": 277.9
  },
  "luminance": 0.08343
}

Semantic roles & 50–950 ramp

primary
#474C8A
secondary
#AEAA7F
accent
#C060C8
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #474C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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