#474282#474282

#474282 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.7% C 0.104 H 284.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#474282
RGBrgb(71, 66, 130)
HSLhsl(245, 33%, 38%)
HSVhsv(245, 49%, 51%)
CMYKcmyk(45.4%, 49.2%, 0%, 49%)
CIE-LABlab(31.46, 19.69, -35.51)
CIE-LCHlch(31.46, 40.61, 299.01°)
OKLaboklab(41.69% 0.026 -0.1007)
OKLCHoklch(41.69% 0.104 284.5)
XYZxyz(8.5748, 6.8474, 21.9846)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474282 #7D8242
analogous
#425D82 #474282 #674282
triadic
#474282 #824742 #428247
tetradic
#474282 #82425D #7D8242 #428267
square
#474282 #82425D #7D8242 #428267
split-complementary
#474282 #826742 #5D8242
monochromatic
#1B1931 #312D59 #474282 #5E57AA #8580BE

Accessibility & contrast

On white

8.86
#474282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#474282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474282
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474282#FFFFFF#000000##FFFFFF
##4742821.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C84
Deuteranopia (green-blind)
#264881
Tritanopia (blue-blind)
#354F5B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474282;
/* rgb */ color: rgb(71, 66, 130);
/* oklch */ color: oklch(41.7% 0.104 284.5);
Tailwind
colors: {
  custom: {
    50: '#7e76a7',
    500: '#474282',
    950: '#000000',
  },
}
SCSS
$custom: #474282;
$custom-light: #7e76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#474282",
  "rgb": {
    "r": 71,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 244.688,
    "s": 32.653,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41692,
    "c": 0.10398,
    "h": 284.5
  },
  "luminance": 0.06848
}

Semantic roles & 50–950 ramp

primary
#474282
secondary
#A5A977
accent
#C95FC1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #474282

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

Preview Lab → · Contrast checker → · Palette generator →

#474282 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva