#474FA5#474FA5

#474FA5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.137 H 275.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#474FA5
RGBrgb(71, 79, 165)
HSLhsl(235, 40%, 46%)
HSVhsv(235, 57%, 65%)
CMYKcmyk(57%, 52.1%, 0%, 35.3%)
CIE-LABlab(37.20, 22.79, -47.60)
CIE-LCHlch(37.20, 52.77, 295.58°)
OKLaboklab(46.75% 0.0137 -0.1361)
OKLCHoklch(46.75% 0.137 275.8)
XYZxyz(12.1839, 9.6473, 36.8101)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474FA5 #A59D47
analogous
#477EA5 #474FA5 #6E47A5
triadic
#474FA5 #A5474F #4FA547
tetradic
#474FA5 #A5477E #A59D47 #47A56E
square
#474FA5 #A5477E #A59D47 #47A56E
split-complementary
#474FA5 #A56E47 #7EA547
monochromatic
#22264F #353B7A #474FA5 #6A71BF #959AD1

Accessibility & contrast

On white

7.17
#474FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#474FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474FA5
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474FA5#FFFFFF#000000##FFFFFF
##474FA51.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205CA8
Deuteranopia (green-blind)
#0F54A3
Tritanopia (blue-blind)
#126272
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #474fa5;
/* rgb */ color: rgb(71, 79, 165);
/* oklch */ color: oklch(46.7% 0.137 275.8);
Tailwind
colors: {
  custom: {
    50: '#8280c0',
    500: '#474fa5',
    950: '#000000',
  },
}
SCSS
$custom: #474fa5;
$custom-light: #8280c0;
$custom-dark: #000000;
JSON
{
  "hex": "#474fa5",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 234.894,
    "s": 39.831,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46748,
    "c": 0.13678,
    "h": 275.8
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#474FA5
secondary
#BDB98B
accent
#C658D0
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #474FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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