#3A47C3#3A47C3

#3A47C3 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.191 H 272.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#3A47C3
RGBrgb(58, 71, 195)
HSLhsl(234, 54%, 50%)
HSVhsv(234, 70%, 76%)
CMYKcmyk(70.3%, 63.6%, 0%, 23.5%)
CIE-LABlab(36.64, 36.19, -66.26)
CIE-LCHlch(36.64, 75.50, 298.64°)
OKLaboklab(46.83% 0.0067 -0.1914)
OKLCHoklch(46.83% 0.191 272)
XYZxyz(13.8452, 9.3448, 52.6933)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47C3 #C3B63A
analogous
#3A8BC3 #3A47C3 #723AC3
triadic
#3A47C3 #C33A47 #47C33A
tetradic
#3A47C3 #C33A8B #C3B63A #3AC372
square
#3A47C3 #C33A8B #C3B63A #3AC372
split-complementary
#3A47C3 #C3723A #8BC33A
monochromatic
#1E2565 #2C3694 #3A47C3 #6872D2 #979EE0

Accessibility & contrast

On white

7.32
#3A47C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3A47C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47C3
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47C3#FFFFFF#000000##FFFFFF
##3A47C31.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a47c3;
/* rgb */ color: rgb(58, 71, 195);
/* oklch */ color: oklch(46.8% 0.191 272.0);
Tailwind
colors: {
  custom: {
    50: '#827ad6',
    500: '#3a47c3',
    950: '#000000',
  },
}
SCSS
$custom: #3a47c3;
$custom-light: #827ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47c3",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 195
  },
  "hsl": {
    "h": 234.307,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4683,
    "c": 0.19148,
    "h": 272
  },
  "luminance": 0.09346
}

Semantic roles & 50–950 ramp

primary
#3A47C3
secondary
#CCC68D
accent
#D04ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A47C3

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

Preview Lab → · Contrast checker → · Palette generator →

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