#3A47DC#3A47DC

#3A47DC is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.1% C 0.223 H 271.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#3A47DC
RGBrgb(58, 71, 220)
HSLhsl(235, 70%, 55%)
HSVhsv(235, 74%, 86%)
CMYKcmyk(73.6%, 67.7%, 0%, 13.7%)
CIE-LABlab(38.85, 44.81, -77.09)
CIE-LCHlch(38.85, 89.17, 300.17°)
OKLaboklab(49.12% 0.0047 -0.223)
OKLCHoklch(49.12% 0.223 271.2)
XYZxyz(16.9120, 10.5715, 68.8455)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47DC #DCCF3A
analogous
#3A98DC #3A47DC #7E3ADC
triadic
#3A47DC #DC3A47 #47DC3A
tetradic
#3A47DC #DC3A98 #DCCF3A #3ADC7E
square
#3A47DC #DC3A98 #DCCF3A #3ADC7E
split-complementary
#3A47DC #DC7E3A #98DC3A
monochromatic
#172084 #212DB8 #3A47DC #6E78E5 #A2A8EE

Accessibility & contrast

On white

6.74
#3A47DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3A47DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A47DC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47DC#FFFFFF#000000##FFFFFF
##3A47DC1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E1
Deuteranopia (green-blind)
#0054D9
Tritanopia (blue-blind)
#00708C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a47dc;
/* rgb */ color: rgb(58, 71, 220);
/* oklch */ color: oklch(49.1% 0.223 271.2);
Tailwind
colors: {
  custom: {
    50: '#887be8',
    500: '#3a47dc',
    950: '#000000',
  },
}
SCSS
$custom: #3a47dc;
$custom-light: #887be8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47dc",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 235.185,
    "s": 69.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.49116,
    "c": 0.22309,
    "h": 271.2
  },
  "luminance": 0.10573
}

Semantic roles & 50–950 ramp

primary
#3A47DC
secondary
#DBD697
accent
#DE3BED
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3A47DC

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

Preview Lab → · Contrast checker → · Palette generator →

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