#474381#474381

#474381 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.8% C 0.101 H 284.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#474381
RGBrgb(71, 67, 129)
HSLhsl(244, 32%, 38%)
HSVhsv(244, 48%, 51%)
CMYKcmyk(45%, 48.1%, 0%, 49.4%)
CIE-LABlab(31.67, 18.72, -34.55)
CIE-LCHlch(31.67, 39.30, 298.45°)
OKLaboklab(41.83% 0.0245 -0.0979)
OKLCHoklch(41.83% 0.101 284.1)
XYZxyz(8.5670, 6.9385, 21.6525)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474381 #7D8143
analogous
#435E81 #474381 #664381
triadic
#474381 #814743 #438147
tetradic
#474381 #81435E #7D8143 #438166
square
#474381 #81435E #7D8143 #438166
split-complementary
#474381 #816643 #5E8143
monochromatic
#1B1930 #312E59 #474381 #5E59A9 #8581BE

Accessibility & contrast

On white

8.79
#474381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #474381
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474381#FFFFFF#000000##FFFFFF
##4743811.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C83
Deuteranopia (green-blind)
#284980
Tritanopia (blue-blind)
#35505C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #474381;
/* rgb */ color: rgb(71, 67, 129);
/* oklch */ color: oklch(41.8% 0.101 284.1);
Tailwind
colors: {
  custom: {
    50: '#7e77a6',
    500: '#474381',
    950: '#000000',
  },
}
SCSS
$custom: #474381;
$custom-light: #7e77a6;
$custom-dark: #000000;
JSON
{
  "hex": "#474381",
  "rgb": {
    "r": 71,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 243.871,
    "s": 31.633,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41831,
    "c": 0.10089,
    "h": 284.1
  },
  "luminance": 0.06939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #474381

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

Preview Lab → · Contrast checker → · Palette generator →

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