#474AB5#474AB5

#474AB5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.0% C 0.166 H 276.7°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#474AB5
RGBrgb(71, 74, 181)
HSLhsl(238, 44%, 49%)
HSVhsv(238, 61%, 71%)
CMYKcmyk(60.8%, 59.1%, 0%, 29%)
CIE-LABlab(37.06, 31.41, -57.32)
CIE-LCHlch(37.06, 65.36, 298.72°)
OKLaboklab(47.01% 0.0194 -0.1647)
OKLCHoklch(47.01% 0.166 276.7)
XYZxyz(13.3851, 9.5723, 44.8494)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474AB5 #B5B247
analogous
#4781B5 #474AB5 #7B47B5
triadic
#474AB5 #B5474A #4AB547
tetradic
#474AB5 #B54781 #B5B247 #47B57B
square
#474AB5 #B54781 #B5B247 #47B57B
split-complementary
#474AB5 #B57B47 #81B547
monochromatic
#25265D #363889 #474AB5 #7274C8 #9E9FD9

Accessibility & contrast

On white

7.21
#474AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#474AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474AB5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474AB5#FFFFFF#000000##FFFFFF
##474AB51.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #474ab5;
/* rgb */ color: rgb(71, 74, 181);
/* oklch */ color: oklch(47.0% 0.166 276.7);
Tailwind
colors: {
  custom: {
    50: '#857ccc',
    500: '#474ab5',
    950: '#000000',
  },
}
SCSS
$custom: #474ab5;
$custom-light: #857ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#474ab5",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 181
  },
  "hsl": {
    "h": 238.364,
    "s": 43.651,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47007,
    "c": 0.16588,
    "h": 276.7
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#474AB5
secondary
#C5C493
accent
#D054D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #474AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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