#474DD4#474DD4

#474DD4 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.1% C 0.203 H 274.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#474DD4
RGBrgb(71, 77, 212)
HSLhsl(237, 62%, 55%)
HSVhsv(237, 67%, 83%)
CMYKcmyk(66.5%, 63.7%, 0%, 16.9%)
CIE-LABlab(40.24, 40.01, -70.19)
CIE-LCHlch(40.24, 80.79, 299.68°)
OKLaboklab(50.12% 0.0155 -0.2025)
OKLCHoklch(50.12% 0.203 274.4)
XYZxyz(17.1321, 11.3993, 63.5720)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474DD4 #D4CE47
analogous
#4793D4 #474DD4 #8747D4
triadic
#474DD4 #D4474D #4DD447
tetradic
#474DD4 #D44793 #D4CE47 #47D487
square
#474DD4 #D44793 #D4CE47 #47D487
split-complementary
#474DD4 #D48747 #93D447
monochromatic
#1E2382 #2A30B4 #474DD4 #797DE0 #AAADEB

Accessibility & contrast

On white

6.40
#474DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#474DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #474DD4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474DD4#FFFFFF#000000##FFFFFF
##474DD41.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0059D1
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #474dd4;
/* rgb */ color: rgb(71, 77, 212);
/* oklch */ color: oklch(50.1% 0.203 274.4);
Tailwind
colors: {
  custom: {
    50: '#8b7fe2',
    500: '#474dd4',
    950: '#000000',
  },
}
SCSS
$custom: #474dd4;
$custom-light: #8b7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#474dd4",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 212
  },
  "hsl": {
    "h": 237.447,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.20309,
    "h": 274.4
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#474DD4
secondary
#D9D69E
accent
#DE43E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #474DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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