#474DD5#474DD5

#474DD5 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.2% C 0.204 H 274.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#474DD5
RGBrgb(71, 77, 213)
HSLhsl(237, 63%, 56%)
HSVhsv(237, 67%, 84%)
CMYKcmyk(66.7%, 63.8%, 0%, 16.5%)
CIE-LABlab(40.33, 40.34, -70.62)
CIE-LCHlch(40.33, 81.33, 299.74°)
OKLaboklab(50.2% 0.0155 -0.2038)
OKLCHoklch(50.2% 0.204 274.3)
XYZxyz(17.2587, 11.4499, 64.2384)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474DD5 #D5CF47
analogous
#4794D5 #474DD5 #8847D5
triadic
#474DD5 #D5474D #4DD547
tetradic
#474DD5 #D54794 #D5CF47 #47D588
square
#474DD5 #D54794 #D5CF47 #47D588
split-complementary
#474DD5 #D58847 #94D547
monochromatic
#1E2284 #292FB5 #474DD5 #797DE0 #ABADEC

Accessibility & contrast

On white

6.38
#474DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#474DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #474DD5
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474DD5#FFFFFF#000000##FFFFFF
##474DD51.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#0059D2
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #474dd5;
/* rgb */ color: rgb(71, 77, 213);
/* oklch */ color: oklch(50.2% 0.204 274.3);
Tailwind
colors: {
  custom: {
    50: '#8b7fe3',
    500: '#474dd5',
    950: '#000000',
  },
}
SCSS
$custom: #474dd5;
$custom-light: #8b7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#474dd5",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 237.465,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50203,
    "c": 0.20437,
    "h": 274.3
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#474DD5
secondary
#D9D79E
accent
#DF42E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #474DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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