#474181#474181

#474181 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.4% C 0.104 H 285.2°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#474181
RGBrgb(71, 65, 129)
HSLhsl(246, 33%, 38%)
HSVhsv(246, 50%, 51%)
CMYKcmyk(45%, 49.6%, 0%, 49.4%)
CIE-LABlab(31.13, 20.03, -35.42)
CIE-LCHlch(31.13, 40.69, 299.49°)
OKLaboklab(41.42% 0.0272 -0.1004)
OKLCHoklch(41.42% 0.104 285.2)
XYZxyz(8.4501, 6.7048, 21.6135)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474181 #7B8141
analogous
#415B81 #474181 #674181
triadic
#474181 #814741 #418147
tetradic
#474181 #81415B #7B8141 #418167
square
#474181 #81415B #7B8141 #418167
split-complementary
#474181 #816741 #5B8141
monochromatic
#1A1830 #312C58 #474181 #5D56AA #847EBE

Accessibility & contrast

On white

8.97
#474181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#474181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474181
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474181#FFFFFF#000000##FFFFFF
##4741811.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#254780
Tritanopia (blue-blind)
#354E5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #474181;
/* rgb */ color: rgb(71, 65, 129);
/* oklch */ color: oklch(41.4% 0.104 285.2);
Tailwind
colors: {
  custom: {
    50: '#7e75a6',
    500: '#474181',
    950: '#000000',
  },
}
SCSS
$custom: #474181;
$custom-light: #7e75a6;
$custom-dark: #000000;
JSON
{
  "hex": "#474181",
  "rgb": {
    "r": 71,
    "g": 65,
    "b": 129
  },
  "hsl": {
    "h": 245.625,
    "s": 32.99,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41423,
    "c": 0.10403,
    "h": 285.2
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#474181
secondary
#A4A975
accent
#C95FBF
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #474181

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

Preview Lab → · Contrast checker → · Palette generator →

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