#474FA7#474FA7

#474FA7 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.140 H 275.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#474FA7
RGBrgb(71, 79, 167)
HSLhsl(235, 40%, 47%)
HSVhsv(235, 57%, 65%)
CMYKcmyk(57.5%, 52.7%, 0%, 34.5%)
CIE-LABlab(37.34, 23.47, -48.58)
CIE-LCHlch(37.34, 53.95, 295.79°)
OKLaboklab(46.89% 0.0139 -0.139)
OKLCHoklch(46.89% 0.14 275.7)
XYZxyz(12.3673, 9.7207, 37.7763)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474FA7 #A79F47
analogous
#477FA7 #474FA7 #6F47A7
triadic
#474FA7 #A7474F #4FA747
tetradic
#474FA7 #A7477F #A79F47 #47A76F
square
#474FA7 #A7477F #A79F47 #47A76F
split-complementary
#474FA7 #A76F47 #7FA747
monochromatic
#222651 #353B7C #474FA7 #6B72C0 #969BD2

Accessibility & contrast

On white

7.13
#474FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#474FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474FA7
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474FA7#FFFFFF#000000##FFFFFF
##474FA71.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5CAA
Deuteranopia (green-blind)
#0854A5
Tritanopia (blue-blind)
#0D6373
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #474fa7;
/* rgb */ color: rgb(71, 79, 167);
/* oklch */ color: oklch(46.9% 0.140 275.7);
Tailwind
colors: {
  custom: {
    50: '#8380c2',
    500: '#474fa7',
    950: '#000000',
  },
}
SCSS
$custom: #474fa7;
$custom-light: #8380c2;
$custom-dark: #000000;
JSON
{
  "hex": "#474fa7",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 235,
    "s": 40.336,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46892,
    "c": 0.13966,
    "h": 275.7
  },
  "luminance": 0.09722
}

Semantic roles & 50–950 ramp

primary
#474FA7
secondary
#BEBA8B
accent
#C658D0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #474FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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