#474AAB#474AAB

#474AAB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.152 H 277.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#474AAB
RGBrgb(71, 74, 171)
HSLhsl(238, 41%, 47%)
HSVhsv(238, 58%, 67%)
CMYKcmyk(58.5%, 56.7%, 0%, 32.9%)
CIE-LABlab(36.32, 28.03, -52.60)
CIE-LCHlch(36.32, 59.60, 298.06°)
OKLaboklab(46.22% 0.0194 -0.1508)
OKLCHoklch(46.22% 0.152 277.3)
XYZxyz(12.3956, 9.1765, 39.6382)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474AAB #ABA847
analogous
#477CAB #474AAB #7647AB
triadic
#474AAB #AB474A #4AAB47
tetradic
#474AAB #AB477C #ABA847 #47AB76
square
#474AAB #AB477C #ABA847 #47AB76
split-complementary
#474AAB #AB7647 #7CAB47
monochromatic
#232555 #353780 #474AAB #6D6FC2 #989AD4

Accessibility & contrast

On white

7.41
#474AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#474AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474AAB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474AAB#FFFFFF#000000##FFFFFF
##474AAB1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAE
Deuteranopia (green-blind)
#0051A9
Tritanopia (blue-blind)
#036173
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #474aab;
/* rgb */ color: rgb(71, 74, 171);
/* oklch */ color: oklch(46.2% 0.152 277.3);
Tailwind
colors: {
  custom: {
    50: '#847cc5',
    500: '#474aab',
    950: '#000000',
  },
}
SCSS
$custom: #474aab;
$custom-light: #847cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#474aab",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 171
  },
  "hsl": {
    "h": 238.2,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46223,
    "c": 0.15208,
    "h": 277.3
  },
  "luminance": 0.09177
}

Semantic roles & 50–950 ramp

primary
#474AAB
secondary
#C0BF8D
accent
#CD57D1
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #474AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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