#474AB9#474AB9

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

Color values

HEX#474AB9
RGBrgb(71, 74, 185)
HSLhsl(238, 45%, 50%)
HSVhsv(238, 62%, 73%)
CMYKcmyk(61.6%, 60%, 0%, 27.5%)
CIE-LABlab(37.37, 32.76, -59.18)
CIE-LCHlch(37.37, 67.64, 298.97°)
OKLaboklab(47.33% 0.0193 -0.1702)
OKLCHoklch(47.33% 0.171 276.5)
XYZxyz(13.8014, 9.7389, 47.0420)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474AB9 #B9B647
analogous
#4783B9 #474AB9 #7D47B9
triadic
#474AB9 #B9474A #4AB947
tetradic
#474AB9 #B94783 #B9B647 #47B97D
square
#474AB9 #B94783 #B9B647 #47B97D
split-complementary
#474AB9 #B97D47 #83B947
monochromatic
#252661 #36388D #474AB9 #7376CA #A0A1DB

Accessibility & contrast

On white

7.12
#474AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#474AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474AB9
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474AB9#FFFFFF#000000##FFFFFF
##474AB91.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #474ab9;
/* rgb */ color: rgb(71, 74, 185);
/* oklch */ color: oklch(47.3% 0.171 276.5);
Tailwind
colors: {
  custom: {
    50: '#867ccf',
    500: '#474ab9',
    950: '#000000',
  },
}
SCSS
$custom: #474ab9;
$custom-light: #867ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#474ab9",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 185
  },
  "hsl": {
    "h": 238.421,
    "s": 44.882,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4733,
    "c": 0.17129,
    "h": 276.5
  },
  "luminance": 0.0974
}

Semantic roles & 50–950 ramp

primary
#474AB9
secondary
#C7C694
accent
#D153D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #474AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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