#474E87#474E87

#474E87 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.5% C 0.093 H 276.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#474E87
RGBrgb(71, 78, 135)
HSLhsl(233, 31%, 40%)
HSVhsv(233, 47%, 53%)
CMYKcmyk(47.4%, 42.2%, 0%, 47.1%)
CIE-LABlab(35.08, 13.46, -32.84)
CIE-LCHlch(35.08, 35.49, 292.28°)
OKLaboklab(44.54% 0.0108 -0.0928)
OKLCHoklch(44.54% 0.093 276.6)
XYZxyz(9.6948, 8.5371, 24.0540)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E87 #878047
analogous
#476E87 #474E87 #604787
triadic
#474E87 #87474E #4E8747
tetradic
#474E87 #87476E #878047 #478760
square
#474E87 #87476E #878047 #478760
split-complementary
#474E87 #876047 #6E8747
monochromatic
#1D2037 #32375F #474E87 #6068AB #888EC0

Accessibility & contrast

On white

7.76
#474E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#474E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474E87
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E87#FFFFFF#000000##FFFFFF
##474E871.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385589
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#305A64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #474e87;
/* rgb */ color: rgb(71, 78, 135);
/* oklch */ color: oklch(44.5% 0.093 276.6);
Tailwind
colors: {
  custom: {
    50: '#7e7faa',
    500: '#474e87',
    950: '#000000',
  },
}
SCSS
$custom: #474e87;
$custom-light: #7e7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#474e87",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 233.438,
    "s": 31.068,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44539,
    "c": 0.09341,
    "h": 276.6
  },
  "luminance": 0.08538
}

Semantic roles & 50–950 ramp

primary
#474E87
secondary
#ACA77E
accent
#BC61C7
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #474E87

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

Preview Lab → · Contrast checker → · Palette generator →

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