#3A47C6#3A47C6

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

Color values

HEX#3A47C6
RGBrgb(58, 71, 198)
HSLhsl(234, 55%, 50%)
HSVhsv(234, 71%, 78%)
CMYKcmyk(70.7%, 64.1%, 0%, 22.4%)
CIE-LABlab(36.90, 37.23, -67.59)
CIE-LCHlch(36.90, 77.17, 298.85°)
OKLaboklab(47.1% 0.0065 -0.1953)
OKLCHoklch(47.1% 0.195 271.9)
XYZxyz(14.1878, 9.4818, 54.4976)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47C6 #C6B93A
analogous
#3A8DC6 #3A47C6 #733AC6
triadic
#3A47C6 #C63A47 #47C63A
tetradic
#3A47C6 #C63A8D #C6B93A #3AC673
square
#3A47C6 #C63A8D #C6B93A #3AC673
split-complementary
#3A47C6 #C6733A #8DC63A
monochromatic
#1E2568 #2C3697 #3A47C6 #6973D4 #99A0E1

Accessibility & contrast

On white

7.25
#3A47C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3A47C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47C6
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47C6#FFFFFF#000000##FFFFFF
##3A47C61.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCA
Deuteranopia (green-blind)
#0050C4
Tritanopia (blue-blind)
#006880
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a47c6;
/* rgb */ color: rgb(58, 71, 198);
/* oklch */ color: oklch(47.1% 0.195 271.9);
Tailwind
colors: {
  custom: {
    50: '#837ad8',
    500: '#3a47c6',
    950: '#000000',
  },
}
SCSS
$custom: #3a47c6;
$custom-light: #837ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47c6",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 198
  },
  "hsl": {
    "h": 234.429,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47097,
    "c": 0.19537,
    "h": 271.9
  },
  "luminance": 0.09483
}

Semantic roles & 50–950 ramp

primary
#3A47C6
secondary
#CDC78F
accent
#D149DE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3A47C6

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

Preview Lab → · Contrast checker → · Palette generator →

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