#474CA7#474CA7

#474CA7 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.144 H 276.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#474CA7
RGBrgb(71, 76, 167)
HSLhsl(237, 40%, 47%)
HSVhsv(237, 57%, 65%)
CMYKcmyk(57.5%, 54.5%, 0%, 34.5%)
CIE-LABlab(36.55, 25.40, -49.84)
CIE-LCHlch(36.55, 55.94, 297.00°)
OKLaboklab(46.3% 0.0171 -0.1427)
OKLCHoklch(46.3% 0.144 276.8)
XYZxyz(12.1558, 9.2976, 37.7058)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474CA7 #A7A247
analogous
#477CA7 #474CA7 #7247A7
triadic
#474CA7 #A7474C #4CA747
tetradic
#474CA7 #A7477C #A7A247 #47A772
square
#474CA7 #A7477C #A7A247 #47A772
split-complementary
#474CA7 #A77247 #7CA747
monochromatic
#222551 #35387C #474CA7 #6B70C0 #9699D2

Accessibility & contrast

On white

7.34
#474CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#474CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474CA7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474CA7#FFFFFF#000000##FFFFFF
##474CA71.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135AAA
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#0E6172
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #474ca7;
/* rgb */ color: rgb(71, 76, 167);
/* oklch */ color: oklch(46.3% 0.144 276.8);
Tailwind
colors: {
  custom: {
    50: '#837ec2',
    500: '#474ca7',
    950: '#000000',
  },
}
SCSS
$custom: #474ca7;
$custom-light: #837ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#474ca7",
  "rgb": {
    "r": 71,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 236.875,
    "s": 40.336,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46303,
    "c": 0.14374,
    "h": 276.8
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#474CA7
secondary
#BEBC8B
accent
#CA58D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #474CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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