#474CE8#474CE8

#474CE8 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.7% C 0.229 H 273.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#474CE8
RGBrgb(71, 76, 232)
HSLhsl(238, 78%, 59%)
HSVhsv(238, 69%, 91%)
CMYKcmyk(69.4%, 67.2%, 0%, 9%)
CIE-LABlab(41.74, 47.24, -79.15)
CIE-LCHlch(41.74, 92.17, 300.83°)
OKLaboklab(51.73% 0.0144 -0.2287)
OKLCHoklch(51.73% 0.229 273.6)
XYZxyz(19.7436, 12.3328, 77.6682)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474CE8 #E8E347
analogous
#479CE8 #474CE8 #9347E8
triadic
#474CE8 #E8474C #4CE847
tetradic
#474CE8 #E8479C #E8E347 #47E893
square
#474CE8 #E8479C #E8E347 #47E893
split-complementary
#474CE8 #E89347 #9CE847
monochromatic
#1418A1 #1B21D7 #474CE8 #7D81EF #B4B6F6

Accessibility & contrast

On white

6.06
#474CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#474CE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #474CE8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474CE8#FFFFFF#000000##FFFFFF
##474CE81.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AED
Deuteranopia (green-blind)
#005BE5
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #474ce8;
/* rgb */ color: rgb(71, 76, 232);
/* oklch */ color: oklch(51.7% 0.229 273.6);
Tailwind
colors: {
  custom: {
    50: '#8f7ff1',
    500: '#474ce8',
    950: '#000000',
  },
}
SCSS
$custom: #474ce8;
$custom-light: #8f7ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#474ce8",
  "rgb": {
    "r": 71,
    "g": 76,
    "b": 232
  },
  "hsl": {
    "h": 238.137,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.51731,
    "c": 0.2292,
    "h": 273.6
  },
  "luminance": 0.12335
}

Semantic roles & 50–950 ramp

primary
#474CE8
secondary
#E5E3A6
accent
#EE34F4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #474CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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