#3A47C5#3A47C5

#3A47C5 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.194 H 271.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#3A47C5
RGBrgb(58, 71, 197)
HSLhsl(234, 55%, 50%)
HSVhsv(234, 71%, 77%)
CMYKcmyk(70.6%, 64%, 0%, 22.7%)
CIE-LABlab(36.81, 36.89, -67.15)
CIE-LCHlch(36.81, 76.62, 298.78°)
OKLaboklab(47.01% 0.0066 -0.194)
OKLCHoklch(47.01% 0.194 271.9)
XYZxyz(14.0728, 9.4358, 53.8921)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47C5 #C5B83A
analogous
#3A8DC5 #3A47C5 #723AC5
triadic
#3A47C5 #C53A47 #47C53A
tetradic
#3A47C5 #C53A8D #C5B83A #3AC572
square
#3A47C5 #C53A8D #C5B83A #3AC572
split-complementary
#3A47C5 #C5723A #8DC53A
monochromatic
#1E2566 #2C3696 #3A47C5 #6973D3 #999FE1

Accessibility & contrast

On white

7.27
#3A47C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3A47C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47C5
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47C5#FFFFFF#000000##FFFFFF
##3A47C51.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a47c5;
/* rgb */ color: rgb(58, 71, 197);
/* oklch */ color: oklch(47.0% 0.194 271.9);
Tailwind
colors: {
  custom: {
    50: '#837ad8',
    500: '#3a47c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a47c5;
$custom-light: #837ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47c5",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 234.388,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.47008,
    "c": 0.19407,
    "h": 271.9
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#3A47C5
secondary
#CDC78E
accent
#D04ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A47C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3A47C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva