#474AB7#474AB7

#474AB7 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.2% C 0.169 H 276.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#474AB7
RGBrgb(71, 74, 183)
HSLhsl(238, 44%, 50%)
HSVhsv(238, 61%, 72%)
CMYKcmyk(61.2%, 59.6%, 0%, 28.2%)
CIE-LABlab(37.22, 32.09, -58.25)
CIE-LCHlch(37.22, 66.50, 298.85°)
OKLaboklab(47.17% 0.0194 -0.1675)
OKLCHoklch(47.17% 0.169 276.6)
XYZxyz(13.5918, 9.6550, 45.9379)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474AB7 #B7B447
analogous
#4782B7 #474AB7 #7C47B7
triadic
#474AB7 #B7474A #4AB747
tetradic
#474AB7 #B74782 #B7B447 #47B77C
square
#474AB7 #B74782 #B7B447 #47B77C
split-complementary
#474AB7 #B77C47 #82B747
monochromatic
#25265F #36388B #474AB7 #7375C9 #9FA0DA

Accessibility & contrast

On white

7.16
#474AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#474AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474AB7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474AB7#FFFFFF#000000##FFFFFF
##474AB71.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #474ab7;
/* rgb */ color: rgb(71, 74, 183);
/* oklch */ color: oklch(47.2% 0.169 276.6);
Tailwind
colors: {
  custom: {
    50: '#867ccd',
    500: '#474ab7',
    950: '#000000',
  },
}
SCSS
$custom: #474ab7;
$custom-light: #867ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#474ab7",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 238.393,
    "s": 44.094,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47168,
    "c": 0.1686,
    "h": 276.6
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#474AB7
secondary
#C6C594
accent
#D054D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #474AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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