#476FAF#476FAF

#476FAF is a mid, moderate blue. Relative luminance 0.158; OKLCH L 54.2% C 0.110 H 259.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#476FAF
RGBrgb(71, 111, 175)
HSLhsl(217, 42%, 48%)
HSVhsv(217, 59%, 69%)
CMYKcmyk(59.4%, 36.6%, 0%, 31.4%)
CIE-LABlab(46.71, 5.86, -38.33)
CIE-LCHlch(46.71, 38.77, 278.70°)
OKLaboklab(54.23% -0.0203 -0.1086)
OKLCHoklch(54.23% 0.11 259.4)
XYZxyz(16.0181, 15.8022, 42.7551)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476FAF #AF8747
analogous
#47A3AF #476FAF #5347AF
triadic
#476FAF #AF476F #6FAF47
tetradic
#476FAF #AF47A3 #AF8747 #47AF53
square
#476FAF #AF47A3 #AF8747 #47AF53
split-complementary
#476FAF #AF5347 #A3AF47
monochromatic
#243858 #355383 #476FAF #6F90C4 #9AB1D6

Accessibility & contrast

On white

5.05
#476FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#476FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476FAF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476FAF#FFFFFF#000000##FFFFFF
##476FAF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#476AAE
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #476faf;
/* rgb */ color: rgb(71, 111, 175);
/* oklch */ color: oklch(54.2% 0.110 259.4);
Tailwind
colors: {
  custom: {
    50: '#8398c7',
    500: '#476faf',
    950: '#000000',
  },
}
SCSS
$custom: #476faf;
$custom-light: #8398c7;
$custom-dark: #000000;
JSON
{
  "hex": "#476faf",
  "rgb": {
    "r": 71,
    "g": 111,
    "b": 175
  },
  "hsl": {
    "h": 216.923,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54227,
    "c": 0.11044,
    "h": 259.4
  },
  "luminance": 0.15804
}

Semantic roles & 50–950 ramp

primary
#476FAF
secondary
#C2AF8F
accent
#A256D2
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #476FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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