#474CAF#474CAF

#474CAF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.155 H 276.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#474CAF
RGBrgb(71, 76, 175)
HSLhsl(237, 42%, 48%)
HSVhsv(237, 59%, 69%)
CMYKcmyk(59.4%, 56.6%, 0%, 31.4%)
CIE-LABlab(37.12, 28.11, -53.68)
CIE-LCHlch(37.12, 60.60, 297.64°)
OKLaboklab(46.91% 0.0174 -0.154)
OKLCHoklch(46.91% 0.155 276.4)
XYZxyz(12.9183, 9.6027, 41.7219)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474CAF #AFAA47
analogous
#4780AF #474CAF #7647AF
triadic
#474CAF #AF474C #4CAF47
tetradic
#474CAF #AF4780 #AFAA47 #47AF76
square
#474CAF #AF4780 #AFAA47 #47AF76
split-complementary
#474CAF #AF7647 #80AF47
monochromatic
#242658 #353983 #474CAF #6F73C4 #9A9DD6

Accessibility & contrast

On white

7.19
#474CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#474CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474CAF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474CAF#FFFFFF#000000##FFFFFF
##474CAF1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #474caf;
/* rgb */ color: rgb(71, 76, 175);
/* oklch */ color: oklch(46.9% 0.155 276.4);
Tailwind
colors: {
  custom: {
    50: '#847ec8',
    500: '#474caf',
    950: '#000000',
  },
}
SCSS
$custom: #474caf;
$custom-light: #847ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#474caf",
  "rgb": {
    "r": 71,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 237.115,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46909,
    "c": 0.155,
    "h": 276.4
  },
  "luminance": 0.09604
}

Semantic roles & 50–950 ramp

primary
#474CAF
secondary
#C2C08F
accent
#CC56D2
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #474CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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