#474AB8#474AB8

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

Color values

HEX#474AB8
RGBrgb(71, 74, 184)
HSLhsl(238, 44%, 50%)
HSVhsv(238, 61%, 72%)
CMYKcmyk(61.4%, 59.8%, 0%, 27.8%)
CIE-LABlab(37.29, 32.42, -58.72)
CIE-LCHlch(37.29, 67.07, 298.91°)
OKLaboklab(47.25% 0.0193 -0.1688)
OKLCHoklch(47.25% 0.17 276.5)
XYZxyz(13.6962, 9.6968, 46.4880)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474AB8 #B8B547
analogous
#4783B8 #474AB8 #7C47B8
triadic
#474AB8 #B8474A #4AB847
tetradic
#474AB8 #B84783 #B8B547 #47B87C
square
#474AB8 #B84783 #B8B547 #47B87C
split-complementary
#474AB8 #B87C47 #83B847
monochromatic
#252660 #36388C #474AB8 #7375C9 #9FA1DA

Accessibility & contrast

On white

7.14
#474AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#474AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474AB8
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474AB8#FFFFFF#000000##FFFFFF
##474AB81.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #474ab8;
/* rgb */ color: rgb(71, 74, 184);
/* oklch */ color: oklch(47.2% 0.170 276.5);
Tailwind
colors: {
  custom: {
    50: '#867cce',
    500: '#474ab8',
    950: '#000000',
  },
}
SCSS
$custom: #474ab8;
$custom-light: #867cce;
$custom-dark: #000000;
JSON
{
  "hex": "#474ab8",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 184
  },
  "hsl": {
    "h": 238.407,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.47249,
    "c": 0.16994,
    "h": 276.5
  },
  "luminance": 0.09698
}

Semantic roles & 50–950 ramp

primary
#474AB8
secondary
#C7C594
accent
#D154D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #474AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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