#474DB8#474DB8

#474DB8 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.166 H 275.7°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#474DB8
RGBrgb(71, 77, 184)
HSLhsl(237, 44%, 50%)
HSVhsv(237, 61%, 72%)
CMYKcmyk(61.4%, 58.2%, 0%, 27.8%)
CIE-LABlab(38.03, 30.53, -57.51)
CIE-LCHlch(38.03, 65.11, 297.96°)
OKLaboklab(47.8% 0.0165 -0.1653)
OKLCHoklch(47.8% 0.166 275.7)
XYZxyz(13.9013, 10.1069, 46.5564)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474DB8 #B8B247
analogous
#4786B8 #474DB8 #7947B8
triadic
#474DB8 #B8474D #4DB847
tetradic
#474DB8 #B84786 #B8B247 #47B879
square
#474DB8 #B84786 #B8B247 #47B879
split-complementary
#474DB8 #B87947 #86B847
monochromatic
#252860 #363B8C #474DB8 #7378C9 #9FA2DA

Accessibility & contrast

On white

6.95
#474DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#474DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #474DB8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474DB8#FFFFFF#000000##FFFFFF
##474DB81.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #474db8;
/* rgb */ color: rgb(71, 77, 184);
/* oklch */ color: oklch(47.8% 0.166 275.7);
Tailwind
colors: {
  custom: {
    50: '#867ece',
    500: '#474db8',
    950: '#000000',
  },
}
SCSS
$custom: #474db8;
$custom-light: #867ece;
$custom-dark: #000000;
JSON
{
  "hex": "#474db8",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 184
  },
  "hsl": {
    "h": 236.814,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.47798,
    "c": 0.16611,
    "h": 275.7
  },
  "luminance": 0.10108
}

Semantic roles & 50–950 ramp

primary
#474DB8
secondary
#C7C494
accent
#CD54D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #474DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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