#474FE4#474FE4

#474FE4 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.8% C 0.221 H 273.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#474FE4
RGBrgb(71, 79, 228)
HSLhsl(237, 74%, 59%)
HSVhsv(237, 69%, 89%)
CMYKcmyk(68.9%, 65.4%, 0%, 10.6%)
CIE-LABlab(42.05, 44.15, -76.37)
CIE-LCHlch(42.05, 88.22, 300.03°)
OKLaboklab(51.85% 0.0129 -0.2206)
OKLCHoklch(51.85% 0.221 273.3)
XYZxyz(19.3934, 12.5311, 74.7805)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474FE4 #E4DC47
analogous
#479DE4 #474FE4 #8D47E4
triadic
#474FE4 #E4474F #4FE447
tetradic
#474FE4 #E4479D #E4DC47 #47E48D
square
#474FE4 #E4479D #E4DC47 #47E48D
split-complementary
#474FE4 #E48D47 #9DE447
monochromatic
#171D9A #1E27CF #474FE4 #7C82EC #B2B5F4

Accessibility & contrast

On white

5.99
#474FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#474FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #474FE4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474FE4#FFFFFF#000000##FFFFFF
##474FE41.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#005CE1
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #474fe4;
/* rgb */ color: rgb(71, 79, 228);
/* oklch */ color: oklch(51.8% 0.221 273.3);
Tailwind
colors: {
  custom: {
    50: '#8e81ee',
    500: '#474fe4',
    950: '#000000',
  },
}
SCSS
$custom: #474fe4;
$custom-light: #8e81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#474fe4",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 236.943,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51847,
    "c": 0.22099,
    "h": 273.3
  },
  "luminance": 0.12533
}

Semantic roles & 50–950 ramp

primary
#474FE4
secondary
#E2DFA4
accent
#E837F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #474FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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