#474AAF#474AAF

#474AAF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.158 H 277.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#474AAF
RGBrgb(71, 74, 175)
HSLhsl(238, 42%, 48%)
HSVhsv(238, 59%, 69%)
CMYKcmyk(59.4%, 57.7%, 0%, 31.4%)
CIE-LABlab(36.61, 29.38, -54.50)
CIE-LCHlch(36.61, 61.92, 298.33°)
OKLaboklab(46.53% 0.0194 -0.1564)
OKLCHoklch(46.53% 0.158 277.1)
XYZxyz(12.7827, 9.3314, 41.6767)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474AAF #AFAC47
analogous
#477EAF #474AAF #7847AF
triadic
#474AAF #AF474A #4AAF47
tetradic
#474AAF #AF477E #AFAC47 #47AF78
square
#474AAF #AF477E #AFAC47 #47AF78
split-complementary
#474AAF #AF7847 #7EAF47
monochromatic
#242558 #353883 #474AAF #6F71C4 #9A9CD6

Accessibility & contrast

On white

7.33
#474AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#474AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474AAF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474AAF#FFFFFF#000000##FFFFFF
##474AAF1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #474aaf;
/* rgb */ color: rgb(71, 74, 175);
/* oklch */ color: oklch(46.5% 0.158 277.1);
Tailwind
colors: {
  custom: {
    50: '#847cc8',
    500: '#474aaf',
    950: '#000000',
  },
}
SCSS
$custom: #474aaf;
$custom-light: #847cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#474aaf",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 238.269,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46533,
    "c": 0.15764,
    "h": 277.1
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#474AAF
secondary
#C2C18F
accent
#CE56D2
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #474AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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