#474189#474189

#474189 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 42.0% C 0.116 H 284.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#474189
RGBrgb(71, 65, 137)
HSLhsl(245, 36%, 40%)
HSVhsv(245, 53%, 54%)
CMYKcmyk(48.2%, 52.6%, 0%, 46.3%)
CIE-LABlab(31.64, 22.59, -39.55)
CIE-LCHlch(31.64, 45.55, 299.73°)
OKLaboklab(41.97% 0.028 -0.1125)
OKLCHoklch(41.97% 0.116 284)
XYZxyz(9.0029, 6.9259, 24.5245)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474189 #838941
analogous
#415F89 #474189 #6B4189
triadic
#474189 #894741 #418947
tetradic
#474189 #89415F #838941 #41896B
square
#474189 #89415F #838941 #41896B
split-complementary
#474189 #896B41 #5F8941
monochromatic
#1C1A36 #312D5F #474189 #5F58B0 #8781C3

Accessibility & contrast

On white

8.80
#474189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#474189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474189
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474189#FFFFFF#000000##FFFFFF
##4741891.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8C
Deuteranopia (green-blind)
#1C4887
Tritanopia (blue-blind)
#31505E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474189;
/* rgb */ color: rgb(71, 65, 137);
/* oklch */ color: oklch(42.0% 0.116 284.0);
Tailwind
colors: {
  custom: {
    50: '#7f75ac',
    500: '#474189',
    950: '#000000',
  },
}
SCSS
$custom: #474189;
$custom-light: #7f75ac;
$custom-dark: #000000;
JSON
{
  "hex": "#474189",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 245,
    "s": 35.644,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41973,
    "c": 0.11599,
    "h": 284
  },
  "luminance": 0.06926
}

Semantic roles & 50–950 ramp

primary
#474189
secondary
#A9AE78
accent
#CC5CC2
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #474189

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

Preview Lab → · Contrast checker → · Palette generator →

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