#474197#474197

#474197 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.136 H 282.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#474197
RGBrgb(71, 65, 151)
HSLhsl(244, 40%, 42%)
HSVhsv(244, 57%, 59%)
CMYKcmyk(53%, 57%, 0%, 40.8%)
CIE-LABlab(32.60, 27.13, -46.58)
CIE-LCHlch(32.60, 53.91, 300.22°)
OKLaboklab(43% 0.0287 -0.1332)
OKLCHoklch(43% 0.136 282.2)
XYZxyz(10.0730, 7.3540, 30.1608)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474197 #919741
analogous
#416697 #474197 #724197
triadic
#474197 #974741 #419747
tetradic
#474197 #974166 #919741 #419772
square
#474197 #974166 #919741 #419772
split-complementary
#474197 #977241 #669741
monochromatic
#1F1C41 #332F6C #474197 #635CB9 #8C87CB

Accessibility & contrast

On white

8.50
#474197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#474197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474197
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474197#FFFFFF#000000##FFFFFF
##4741971.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06509A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#265565
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #474197;
/* rgb */ color: rgb(71, 65, 151);
/* oklch */ color: oklch(43.0% 0.136 282.2);
Tailwind
colors: {
  custom: {
    50: '#8176b6',
    500: '#474197',
    950: '#000000',
  },
}
SCSS
$custom: #474197;
$custom-light: #8176b6;
$custom-dark: #000000;
JSON
{
  "hex": "#474197",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 244.186,
    "s": 39.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42998,
    "c": 0.13628,
    "h": 282.2
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#474197
secondary
#B2B67E
accent
#D058C7
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #474197

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

Preview Lab → · Contrast checker → · Palette generator →

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