#474AA2#474AA2

#474AA2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.139 H 277.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#474AA2
RGBrgb(71, 74, 162)
HSLhsl(238, 39%, 46%)
HSVhsv(238, 56%, 64%)
CMYKcmyk(56.2%, 54.3%, 0%, 36.5%)
CIE-LABlab(35.68, 25.00, -48.25)
CIE-LCHlch(35.68, 54.34, 297.39°)
OKLaboklab(45.54% 0.019 -0.138)
OKLCHoklch(45.54% 0.139 277.8)
XYZxyz(11.5668, 8.8450, 35.2732)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474AA2 #A29F47
analogous
#4777A2 #474AA2 #7147A2
triadic
#474AA2 #A2474A #4AA247
tetradic
#474AA2 #A24777 #A29F47 #47A271
square
#474AA2 #A24777 #A29F47 #47A271
split-complementary
#474AA2 #A27147 #77A247
monochromatic
#22234D #343777 #474AA2 #696CBD #9495D0

Accessibility & contrast

On white

7.58
#474AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#474AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474AA2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474AA2#FFFFFF#000000##FFFFFF
##474AA21.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#0050A0
Tritanopia (blue-blind)
#185E6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #474aa2;
/* rgb */ color: rgb(71, 74, 162);
/* oklch */ color: oklch(45.5% 0.139 277.8);
Tailwind
colors: {
  custom: {
    50: '#827cbe',
    500: '#474aa2',
    950: '#000000',
  },
}
SCSS
$custom: #474aa2;
$custom-light: #827cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#474aa2",
  "rgb": {
    "r": 71,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 238.022,
    "s": 39.056,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45544,
    "c": 0.13936,
    "h": 277.8
  },
  "luminance": 0.08846
}

Semantic roles & 50–950 ramp

primary
#474AA2
secondary
#BCBA89
accent
#CB59CF
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #474AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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