#476EA7#476EA7

#476EA7 is a mid, moderate blue. Relative luminance 0.153; OKLCH L 53.5% C 0.100 H 257.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#476EA7
RGBrgb(71, 110, 167)
HSLhsl(216, 40%, 47%)
HSVhsv(216, 57%, 65%)
CMYKcmyk(57.5%, 34.1%, 0%, 34.5%)
CIE-LABlab(46.02, 3.77, -34.75)
CIE-LCHlch(46.02, 34.96, 276.20°)
OKLaboklab(53.55% -0.0212 -0.0981)
OKLCHoklch(53.55% 0.1 257.8)
XYZxyz(15.1471, 15.2802, 38.7029)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476EA7 #A78047
analogous
#479EA7 #476EA7 #5047A7
triadic
#476EA7 #A7476E #6EA747
tetradic
#476EA7 #A7479E #A78047 #47A750
square
#476EA7 #A7479E #A78047 #47A750
split-complementary
#476EA7 #A75047 #9EA747
monochromatic
#223551 #35527C #476EA7 #6B8EC0 #96AFD2

Accessibility & contrast

On white

5.18
#476EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#476EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476EA7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476EA7#FFFFFF#000000##FFFFFF
##476EA71.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5772A9
Deuteranopia (green-blind)
#4A69A6
Tritanopia (blue-blind)
#007B83
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #476ea7;
/* rgb */ color: rgb(71, 110, 167);
/* oklch */ color: oklch(53.5% 0.100 257.8);
Tailwind
colors: {
  custom: {
    50: '#8297c1',
    500: '#476ea7',
    950: '#000000',
  },
}
SCSS
$custom: #476ea7;
$custom-light: #8297c1;
$custom-dark: #000000;
JSON
{
  "hex": "#476ea7",
  "rgb": {
    "r": 71,
    "g": 110,
    "b": 167
  },
  "hsl": {
    "h": 215.625,
    "s": 40.336,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.1004,
    "h": 257.8
  },
  "luminance": 0.15281
}

Semantic roles & 50–950 ramp

primary
#476EA7
secondary
#BEAA8B
accent
#9F58D0
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #476EA7

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

Preview Lab → · Contrast checker → · Palette generator →

#476EA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva