#474AB4#474AB4

#474AB4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.9% C 0.165 H 276.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#474AB4
RGBrgb(71, 74, 180)
HSLhsl(238, 43%, 49%)
HSVhsv(238, 61%, 71%)
CMYKcmyk(60.6%, 58.9%, 0%, 29.4%)
CIE-LABlab(36.99, 31.07, -56.85)
CIE-LCHlch(36.99, 64.79, 298.66°)
OKLaboklab(46.93% 0.0194 -0.1634)
OKLCHoklch(46.93% 0.165 276.8)
XYZxyz(13.2829, 9.5314, 44.3110)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474AB4 #B4B147
analogous
#4781B4 #474AB4 #7B47B4
triadic
#474AB4 #B4474A #4AB447
tetradic
#474AB4 #B44781 #B4B147 #47B47B
square
#474AB4 #B44781 #B4B147 #47B47B
split-complementary
#474AB4 #B47B47 #81B447
monochromatic
#24265C #363888 #474AB4 #7174C7 #9D9FD8

Accessibility & contrast

On white

7.23
#474AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474AB4
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474AB4#FFFFFF#000000##FFFFFF
##474AB41.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #474ab4;
/* rgb */ color: rgb(71, 74, 180);
/* oklch */ color: oklch(46.9% 0.165 276.8);
Tailwind
colors: {
  custom: {
    50: '#857ccb',
    500: '#474ab4',
    950: '#000000',
  },
}
SCSS
$custom: #474ab4;
$custom-light: #857ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#474ab4",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 238.349,
    "s": 43.426,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46928,
    "c": 0.16451,
    "h": 276.8
  },
  "luminance": 0.09532
}

Semantic roles & 50–950 ramp

primary
#474AB4
secondary
#C5C392
accent
#D055D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #474AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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