#476FA7#476FA7

#476FA7 is a mid, moderate blue. Relative luminance 0.155; OKLCH L 53.8% C 0.099 H 257.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#476FA7
RGBrgb(71, 111, 167)
HSLhsl(215, 40%, 47%)
HSVhsv(215, 57%, 65%)
CMYKcmyk(57.5%, 33.5%, 0%, 34.5%)
CIE-LABlab(46.31, 3.16, -34.29)
CIE-LCHlch(46.31, 34.44, 275.26°)
OKLaboklab(53.78% -0.0224 -0.0968)
OKLCHoklch(53.78% 0.099 257)
XYZxyz(15.2556, 15.4972, 38.7391)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476FA7 #A77F47
analogous
#479FA7 #476FA7 #4F47A7
triadic
#476FA7 #A7476F #6FA747
tetradic
#476FA7 #A7479F #A77F47 #47A74F
square
#476FA7 #A7479F #A77F47 #47A74F
split-complementary
#476FA7 #A74F47 #9FA747
monochromatic
#223651 #35527C #476FA7 #6B8FC0 #96AFD2

Accessibility & contrast

On white

5.12
#476FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#476FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476FA7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476FA7#FFFFFF#000000##FFFFFF
##476FA71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5873A9
Deuteranopia (green-blind)
#4C6AA6
Tritanopia (blue-blind)
#007C83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #476fa7;
/* rgb */ color: rgb(71, 111, 167);
/* oklch */ color: oklch(53.8% 0.099 257.0);
Tailwind
colors: {
  custom: {
    50: '#8298c1',
    500: '#476fa7',
    950: '#000000',
  },
}
SCSS
$custom: #476fa7;
$custom-light: #8298c1;
$custom-dark: #000000;
JSON
{
  "hex": "#476fa7",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 167
  },
  "hsl": {
    "h": 215,
    "s": 40.336,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.09935,
    "h": 257
  },
  "luminance": 0.15498
}

Semantic roles & 50–950 ramp

primary
#476FA7
secondary
#BEA98B
accent
#9E58D0
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #476FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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