#474F8D#474F8D

#474F8D is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.1% C 0.101 H 276.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#474F8D
RGBrgb(71, 79, 141)
HSLhsl(233, 33%, 42%)
HSVhsv(233, 50%, 55%)
CMYKcmyk(49.6%, 44%, 0%, 44.7%)
CIE-LABlab(35.70, 14.76, -35.52)
CIE-LCHlch(35.70, 38.46, 292.56°)
OKLaboklab(45.13% 0.0106 -0.1006)
OKLCHoklch(45.13% 0.101 276)
XYZxyz(10.2007, 8.8541, 26.3656)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474F8D #8D8547
analogous
#47728D #474F8D #62478D
triadic
#474F8D #8D474F #4F8D47
tetradic
#474F8D #8D4772 #8D8547 #478D62
square
#474F8D #8D4772 #8D8547 #478D62
split-complementary
#474F8D #8D6247 #728D47
monochromatic
#1E213C #333864 #474F8D #626AB0 #8A91C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##474F8D#FFFFFF#000000##FFFFFF
##474F8D1.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)
#36578F
Deuteranopia (green-blind)
#30518C
Tritanopia (blue-blind)
#2C5C67
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #474f8d;
/* rgb */ color: rgb(71, 79, 141);
/* oklch */ color: oklch(45.1% 0.101 276.0);
Tailwind
colors: {
  custom: {
    50: '#7f80af',
    500: '#474f8d',
    950: '#000000',
  },
}
SCSS
$custom: #474f8d;
$custom-light: #7f80af;
$custom-dark: #000000;
JSON
{
  "hex": "#474f8d",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 141
  },
  "hsl": {
    "h": 233.143,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45127,
    "c": 0.10118,
    "h": 276
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

primary
#474F8D
secondary
#B0AA80
accent
#BD5FC9
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #474F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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