#474FB5#474FB5

#474FB5 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.159 H 275.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#474FB5
RGBrgb(71, 79, 181)
HSLhsl(236, 44%, 49%)
HSVhsv(236, 61%, 71%)
CMYKcmyk(60.8%, 56.4%, 0%, 29%)
CIE-LABlab(38.32, 28.24, -55.29)
CIE-LCHlch(38.32, 62.08, 297.06°)
OKLaboklab(47.94% 0.0146 -0.1587)
OKLCHoklch(47.94% 0.159 275.2)
XYZxyz(13.7323, 10.2667, 44.9651)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474FB5 #B5AD47
analogous
#4786B5 #474FB5 #7647B5
triadic
#474FB5 #B5474F #4FB547
tetradic
#474FB5 #B54786 #B5AD47 #47B576
square
#474FB5 #B54786 #B5AD47 #47B576
split-complementary
#474FB5 #B57647 #86B547
monochromatic
#25295D #363C89 #474FB5 #7278C8 #9EA2D9

Accessibility & contrast

On white

6.88
#474FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#474FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #474FB5
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474FB5#FFFFFF#000000##FFFFFF
##474FB51.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #474fb5;
/* rgb */ color: rgb(71, 79, 181);
/* oklch */ color: oklch(47.9% 0.159 275.2);
Tailwind
colors: {
  custom: {
    50: '#8580cc',
    500: '#474fb5',
    950: '#000000',
  },
}
SCSS
$custom: #474fb5;
$custom-light: #8580cc;
$custom-dark: #000000;
JSON
{
  "hex": "#474fb5",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 235.636,
    "s": 43.651,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47938,
    "c": 0.15938,
    "h": 275.2
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#474FB5
secondary
#C5C293
accent
#CA54D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #474FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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