#474D8A#474D8A

#474D8A is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.5% C 0.100 H 277.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#474D8A
RGBrgb(71, 77, 138)
HSLhsl(235, 32%, 41%)
HSVhsv(235, 49%, 54%)
CMYKcmyk(48.6%, 44.2%, 0%, 45.9%)
CIE-LABlab(34.97, 15.08, -34.85)
CIE-LCHlch(34.97, 37.98, 293.40°)
OKLaboklab(44.51% 0.0127 -0.0987)
OKLCHoklch(44.51% 0.1 277.3)
XYZxyz(9.8384, 8.4818, 25.1586)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474D8A #8A8447
analogous
#476E8A #474D8A #62478A
triadic
#474D8A #8A474D #4D8A47
tetradic
#474D8A #8A476E #8A8447 #478A62
square
#474D8A #8A476E #8A8447 #478A62
split-complementary
#474D8A #8A6247 #6E8A47
monochromatic
#1D2039 #323662 #474D8A #6168AE #898EC2

Accessibility & contrast

On white

7.79
#474D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#474D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474D8A
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474D8A#FFFFFF#000000##FFFFFF
##474D8A1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#305089
Tritanopia (blue-blind)
#2F5A65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #474d8a;
/* rgb */ color: rgb(71, 77, 138);
/* oklch */ color: oklch(44.5% 0.100 277.3);
Tailwind
colors: {
  custom: {
    50: '#7e7eac',
    500: '#474d8a',
    950: '#000000',
  },
}
SCSS
$custom: #474d8a;
$custom-light: #7e7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#474d8a",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 234.627,
    "s": 32.057,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4451,
    "c": 0.0995,
    "h": 277.3
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#474D8A
secondary
#AEAA7F
accent
#BF60C8
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #474D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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