#474198#474198

#474198 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.138 H 282.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#474198
RGBrgb(71, 65, 152)
HSLhsl(244, 40%, 43%)
HSVhsv(244, 57%, 60%)
CMYKcmyk(53.3%, 57.2%, 0%, 40.4%)
CIE-LABlab(32.67, 27.46, -47.07)
CIE-LCHlch(32.67, 54.50, 300.26°)
OKLaboklab(43.07% 0.0287 -0.1347)
OKLCHoklch(43.07% 0.138 282)
XYZxyz(10.1546, 7.3866, 30.5904)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474198 #929841
analogous
#416698 #474198 #734198
triadic
#474198 #984741 #419847
tetradic
#474198 #984166 #929841 #419873
square
#474198 #984166 #929841 #419873
split-complementary
#474198 #987341 #669841
monochromatic
#1F1C42 #332F6D #474198 #635DBA #8C88CC

Accessibility & contrast

On white

8.48
#474198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#474198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474198
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474198#FFFFFF#000000##FFFFFF
##4741981.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03509B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#255566
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #474198;
/* rgb */ color: rgb(71, 65, 152);
/* oklch */ color: oklch(43.1% 0.138 282.0);
Tailwind
colors: {
  custom: {
    50: '#8176b7',
    500: '#474198',
    950: '#000000',
  },
}
SCSS
$custom: #474198;
$custom-light: #8176b7;
$custom-dark: #000000;
JSON
{
  "hex": "#474198",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 152
  },
  "hsl": {
    "h": 244.138,
    "s": 40.092,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43074,
    "c": 0.1377,
    "h": 282
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#474198
secondary
#B3B77E
accent
#D058C8
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80

Preview Lab

Preview with #474198

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

Preview Lab → · Contrast checker → · Palette generator →

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