#47398E#47398E

#47398E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.135 H 286.3°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#47398E
RGBrgb(71, 57, 142)
HSLhsl(250, 43%, 39%)
HSVhsv(250, 60%, 56%)
CMYKcmyk(50%, 59.9%, 0%, 44.3%)
CIE-LABlab(29.96, 29.32, -45.34)
CIE-LCHlch(29.96, 54.00, 302.89°)
OKLaboklab(40.84% 0.038 -0.1296)
OKLCHoklch(40.84% 0.135 286.3)
XYZxyz(8.9427, 6.2184, 26.3150)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47398E #808E39
analogous
#39568E #47398E #72398E
triadic
#47398E #8E4739 #398E47
tetradic
#47398E #8E3956 #808E39 #398E72
square
#47398E #8E3956 #808E39 #398E72
split-complementary
#47398E #8E7239 #568E39
monochromatic
#1B1637 #312762 #47398E #5E4DB7 #8678C9

Accessibility & contrast

On white

9.36
#47398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#47398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47398E
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47398E#FFFFFF#000000##FFFFFF
##47398E1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#2E4C5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #47398e;
/* rgb */ color: rgb(71, 57, 142);
/* oklch */ color: oklch(40.8% 0.135 286.3);
Tailwind
colors: {
  custom: {
    50: '#8070b0',
    500: '#47398e',
    950: '#000000',
  },
}
SCSS
$custom: #47398e;
$custom-light: #8070b0;
$custom-dark: #000000;
JSON
{
  "hex": "#47398e",
  "rgb": {
    "r": 71,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 249.882,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40836,
    "c": 0.13506,
    "h": 286.3
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#47398E
secondary
#A7B271
accent
#D255BE
background
#F8F6FA
surface
#EFECF5
border
#CAC7CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #47398E

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

Preview Lab → · Contrast checker → · Palette generator →

#47398E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva