#3A47C4#3A47C4

#3A47C4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.9% C 0.193 H 272.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#3A47C4
RGBrgb(58, 71, 196)
HSLhsl(234, 54%, 50%)
HSVhsv(234, 70%, 77%)
CMYKcmyk(70.4%, 63.8%, 0%, 23.1%)
CIE-LABlab(36.73, 36.53, -66.71)
CIE-LCHlch(36.73, 76.06, 298.71°)
OKLaboklab(46.92% 0.0066 -0.1927)
OKLCHoklch(46.92% 0.193 272)
XYZxyz(13.9586, 9.3902, 53.2907)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47C4 #C4B73A
analogous
#3A8CC4 #3A47C4 #723AC4
triadic
#3A47C4 #C43A47 #47C43A
tetradic
#3A47C4 #C43A8C #C4B73A #3AC472
square
#3A47C4 #C43A8C #C4B73A #3AC472
split-complementary
#3A47C4 #C4723A #8CC43A
monochromatic
#1E2566 #2C3695 #3A47C4 #6973D3 #989FE0

Accessibility & contrast

On white

7.30
#3A47C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3A47C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47C4
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47C4#FFFFFF#000000##FFFFFF
##3A47C41.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0050C2
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a47c4;
/* rgb */ color: rgb(58, 71, 196);
/* oklch */ color: oklch(46.9% 0.193 272.0);
Tailwind
colors: {
  custom: {
    50: '#837ad7',
    500: '#3a47c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a47c4;
$custom-light: #837ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47c4",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 196
  },
  "hsl": {
    "h": 234.348,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46919,
    "c": 0.19277,
    "h": 272
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A47C4

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

Preview Lab → · Contrast checker → · Palette generator →

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