#3A47C7#3A47C7

#3A47C7 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.197 H 271.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#3A47C7
RGBrgb(58, 71, 199)
HSLhsl(234, 56%, 50%)
HSVhsv(234, 71%, 78%)
CMYKcmyk(70.9%, 64.3%, 0%, 22%)
CIE-LABlab(36.98, 37.58, -68.04)
CIE-LCHlch(36.98, 77.73, 298.92°)
OKLaboklab(47.19% 0.0064 -0.1965)
OKLCHoklch(47.19% 0.197 271.9)
XYZxyz(14.3035, 9.5281, 55.1071)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47C7 #C7BA3A
analogous
#3A8DC7 #3A47C7 #733AC7
triadic
#3A47C7 #C73A47 #47C73A
tetradic
#3A47C7 #C73A8D #C7BA3A #3AC773
square
#3A47C7 #C73A8D #C7BA3A #3AC773
split-complementary
#3A47C7 #C7733A #8DC73A
monochromatic
#1E2569 #2B3598 #3A47C7 #6A74D5 #99A0E2

Accessibility & contrast

On white

7.23
#3A47C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3A47C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47C7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47C7#FFFFFF#000000##FFFFFF
##3A47C71.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0051C5
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a47c7;
/* rgb */ color: rgb(58, 71, 199);
/* oklch */ color: oklch(47.2% 0.197 271.9);
Tailwind
colors: {
  custom: {
    50: '#837ad9',
    500: '#3a47c7',
    950: '#000000',
  },
}
SCSS
$custom: #3a47c7;
$custom-light: #837ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47c7",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 234.468,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47186,
    "c": 0.19666,
    "h": 271.9
  },
  "luminance": 0.0953
}

Semantic roles & 50–950 ramp

primary
#3A47C7
secondary
#CEC88F
accent
#D149DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A47C7

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

Preview Lab → · Contrast checker → · Palette generator →

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