#3A47C2#3A47C2

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

Color values

HEX#3A47C2
RGBrgb(58, 71, 194)
HSLhsl(234, 54%, 49%)
HSVhsv(234, 70%, 76%)
CMYKcmyk(70.1%, 63.4%, 0%, 23.9%)
CIE-LABlab(36.55, 35.84, -65.82)
CIE-LCHlch(36.55, 74.94, 298.57°)
OKLaboklab(46.74% 0.0067 -0.19)
OKLCHoklch(46.74% 0.19 272)
XYZxyz(13.7325, 9.2997, 52.0998)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47C2 #C2B53A
analogous
#3A8BC2 #3A47C2 #713AC2
triadic
#3A47C2 #C23A47 #47C23A
tetradic
#3A47C2 #C23A8B #C2B53A #3AC271
square
#3A47C2 #C23A8B #C2B53A #3AC271
split-complementary
#3A47C2 #C2713A #8BC23A
monochromatic
#1E2564 #2C3693 #3A47C2 #6772D2 #979EE0

Accessibility & contrast

On white

7.34
#3A47C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3A47C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47C2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47C2#FFFFFF#000000##FFFFFF
##3A47C21.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a47c2;
/* rgb */ color: rgb(58, 71, 194);
/* oklch */ color: oklch(46.7% 0.190 272.0);
Tailwind
colors: {
  custom: {
    50: '#827ad5',
    500: '#3a47c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a47c2;
$custom-light: #827ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47c2",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 234.265,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.46742,
    "c": 0.19017,
    "h": 272
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#3A47C2
secondary
#CBC58D
accent
#CF4ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A47C2

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

Preview Lab → · Contrast checker → · Palette generator →

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