#474C8D#474C8D

#474C8D is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.5% C 0.106 H 277.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#474C8D
RGBrgb(71, 76, 141)
HSLhsl(236, 33%, 42%)
HSVhsv(236, 50%, 55%)
CMYKcmyk(49.6%, 46.1%, 0%, 44.7%)
CIE-LABlab(34.86, 16.71, -36.85)
CIE-LCHlch(34.86, 40.46, 294.40°)
OKLaboklab(44.49% 0.0145 -0.1045)
OKLCHoklch(44.49% 0.106 277.9)
XYZxyz(9.9892, 8.4310, 26.2951)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474C8D #8D8847
analogous
#476F8D #474C8D #65478D
triadic
#474C8D #8D474C #4C8D47
tetradic
#474C8D #8D476F #8D8847 #478D65
square
#474C8D #8D476F #8D8847 #478D65
split-complementary
#474C8D #8D6547 #6F8D47
monochromatic
#1E203C #333664 #474C8D #6267B0 #8A8EC4

Accessibility & contrast

On white

7.82
#474C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#474C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474C8D
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474C8D#FFFFFF#000000##FFFFFF
##474C8D1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31558F
Deuteranopia (green-blind)
#2B4F8C
Tritanopia (blue-blind)
#2D5A65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #474c8d;
/* rgb */ color: rgb(71, 76, 141);
/* oklch */ color: oklch(44.5% 0.106 277.9);
Tailwind
colors: {
  custom: {
    50: '#7f7daf',
    500: '#474c8d',
    950: '#000000',
  },
}
SCSS
$custom: #474c8d;
$custom-light: #7f7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#474c8d",
  "rgb": {
    "r": 71,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 235.714,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4449,
    "c": 0.10554,
    "h": 277.9
  },
  "luminance": 0.08432
}

Semantic roles & 50–950 ramp

primary
#474C8D
secondary
#B0AC80
accent
#C25FC9
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #474C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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