#474CE4#474CE4

#474CE4 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.4% C 0.224 H 273.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#474CE4
RGBrgb(71, 76, 228)
HSLhsl(238, 74%, 59%)
HSVhsv(238, 69%, 89%)
CMYKcmyk(68.9%, 66.7%, 0%, 10.6%)
CIE-LABlab(41.39, 45.92, -77.46)
CIE-LCHlch(41.39, 90.05, 300.66°)
OKLaboklab(51.37% 0.0148 -0.2238)
OKLCHoklch(51.37% 0.224 273.8)
XYZxyz(19.1819, 12.1081, 74.7099)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474CE4 #E4DF47
analogous
#479AE4 #474CE4 #9047E4
triadic
#474CE4 #E4474C #4CE447
tetradic
#474CE4 #E4479A #E4DF47 #47E490
square
#474CE4 #E4479A #E4DF47 #47E490
split-complementary
#474CE4 #E49047 #9AE447
monochromatic
#171B9A #1E24CF #474CE4 #7C80EC #B2B4F4

Accessibility & contrast

On white

6.14
#474CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#474CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #474CE4
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474CE4#FFFFFF#000000##FFFFFF
##474CE41.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005AE1
Tritanopia (blue-blind)
#007592
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #474ce4;
/* rgb */ color: rgb(71, 76, 228);
/* oklch */ color: oklch(51.4% 0.224 273.8);
Tailwind
colors: {
  custom: {
    50: '#8e7fee',
    500: '#474ce4',
    950: '#000000',
  },
}
SCSS
$custom: #474ce4;
$custom-light: #8e7fee;
$custom-dark: #000000;
JSON
{
  "hex": "#474ce4",
  "rgb": {
    "r": 71,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 238.089,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51368,
    "c": 0.22429,
    "h": 273.8
  },
  "luminance": 0.1211
}

Semantic roles & 50–950 ramp

primary
#474CE4
secondary
#E2E0A4
accent
#EB37F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #474CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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