#474E8D#474E8D

#474E8D is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.9% C 0.103 H 276.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#474E8D
RGBrgb(71, 78, 141)
HSLhsl(234, 33%, 42%)
HSVhsv(234, 50%, 55%)
CMYKcmyk(49.6%, 44.7%, 0%, 44.7%)
CIE-LABlab(35.42, 15.41, -35.96)
CIE-LCHlch(35.42, 39.13, 293.19°)
OKLaboklab(44.91% 0.0119 -0.1019)
OKLCHoklch(44.91% 0.103 276.7)
XYZxyz(10.1291, 8.7109, 26.3418)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474E8D #8D8647
analogous
#47718D #474E8D #63478D
triadic
#474E8D #8D474E #4E8D47
tetradic
#474E8D #8D4771 #8D8647 #478D63
square
#474E8D #8D4771 #8D8647 #478D63
split-complementary
#474E8D #8D6347 #718D47
monochromatic
#1E213C #333764 #474E8D #6269B0 #8A90C4

Accessibility & contrast

On white

7.66
#474E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#474E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474E8D
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474E8D#FFFFFF#000000##FFFFFF
##474E8D1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568F
Deuteranopia (green-blind)
#2F518C
Tritanopia (blue-blind)
#2C5B66
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #474e8d;
/* rgb */ color: rgb(71, 78, 141);
/* oklch */ color: oklch(44.9% 0.103 276.7);
Tailwind
colors: {
  custom: {
    50: '#7f7faf',
    500: '#474e8d',
    950: '#000000',
  },
}
SCSS
$custom: #474e8d;
$custom-light: #7f7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#474e8d",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 234,
    "s": 33.019,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44913,
    "c": 0.10262,
    "h": 276.7
  },
  "luminance": 0.08711
}

Semantic roles & 50–950 ramp

primary
#474E8D
secondary
#B0AB80
accent
#BE5FC9
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #474E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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