#474D97#474D97

#474D97 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.4% C 0.119 H 277.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#474D97
RGBrgb(71, 77, 151)
HSLhsl(236, 36%, 44%)
HSVhsv(236, 53%, 59%)
CMYKcmyk(53%, 49%, 0%, 40.8%)
CIE-LABlab(35.75, 19.37, -41.51)
CIE-LCHlch(35.75, 45.81, 295.02°)
OKLaboklab(45.36% 0.0146 -0.1182)
OKLCHoklch(45.36% 0.119 277.1)
XYZxyz(10.8366, 8.8810, 30.4153)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474D97 #979147
analogous
#477597 #474D97 #694797
triadic
#474D97 #97474D #4D9747
tetradic
#474D97 #974775 #979147 #479769
square
#474D97 #974775 #979147 #479769
split-complementary
#474D97 #976947 #759747
monochromatic
#202344 #33386D #474D97 #656BB6 #8E93CA

Accessibility & contrast

On white

7.56
#474D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474D97
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474D97#FFFFFF#000000##FFFFFF
##474D971.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#235195
Tritanopia (blue-blind)
#255D6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #474d97;
/* rgb */ color: rgb(71, 77, 151);
/* oklch */ color: oklch(45.4% 0.119 277.1);
Tailwind
colors: {
  custom: {
    50: '#807eb6',
    500: '#474d97',
    950: '#000000',
  },
}
SCSS
$custom: #474d97;
$custom-light: #807eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#474d97",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 235.5,
    "s": 36.036,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45363,
    "c": 0.11911,
    "h": 277.1
  },
  "luminance": 0.08882
}

Semantic roles & 50–950 ramp

primary
#474D97
secondary
#B6B284
accent
#C45CCC
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #474D97

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

Preview Lab → · Contrast checker → · Palette generator →

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