#474AB2#474AB2

#474AB2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.162 H 276.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#474AB2
RGBrgb(71, 74, 178)
HSLhsl(238, 43%, 49%)
HSVhsv(238, 60%, 70%)
CMYKcmyk(60.1%, 58.4%, 0%, 30.2%)
CIE-LABlab(36.84, 30.40, -55.91)
CIE-LCHlch(36.84, 63.64, 298.53°)
OKLaboklab(46.77% 0.0194 -0.1606)
OKLCHoklch(46.77% 0.162 276.9)
XYZxyz(13.0806, 9.4505, 43.2457)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474AB2 #B2AF47
analogous
#4780B2 #474AB2 #7A47B2
triadic
#474AB2 #B2474A #4AB247
tetradic
#474AB2 #B24780 #B2AF47 #47B27A
square
#474AB2 #B24780 #B2AF47 #47B27A
split-complementary
#474AB2 #B27A47 #80B247
monochromatic
#24265B #363886 #474AB2 #7073C6 #9C9ED7

Accessibility & contrast

On white

7.27
#474AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#474AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474AB2
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474AB2#FFFFFF#000000##FFFFFF
##474AB21.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #474ab2;
/* rgb */ color: rgb(71, 74, 178);
/* oklch */ color: oklch(46.8% 0.162 276.9);
Tailwind
colors: {
  custom: {
    50: '#857cca',
    500: '#474ab2',
    950: '#000000',
  },
}
SCSS
$custom: #474ab2;
$custom-light: #857cca;
$custom-dark: #000000;
JSON
{
  "hex": "#474ab2",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 238.318,
    "s": 42.972,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46769,
    "c": 0.16177,
    "h": 276.9
  },
  "luminance": 0.09452
}

Semantic roles & 50–950 ramp

primary
#474AB2
secondary
#C4C291
accent
#CF55D3
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #474AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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