#3A47BC#3A47BC

#3A47BC is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.2% C 0.182 H 272.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#3A47BC
RGBrgb(58, 71, 188)
HSLhsl(234, 53%, 48%)
HSVhsv(234, 69%, 74%)
CMYKcmyk(69.1%, 62.2%, 0%, 26.3%)
CIE-LABlab(36.05, 33.73, -63.12)
CIE-LCHlch(36.05, 71.57, 298.11°)
OKLaboklab(46.22% 0.007 -0.1821)
OKLCHoklch(46.22% 0.182 272.2)
XYZxyz(13.0722, 9.0356, 48.6223)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47BC #BCAF3A
analogous
#3A88BC #3A47BC #6E3ABC
triadic
#3A47BC #BC3A47 #47BC3A
tetradic
#3A47BC #BC3A88 #BCAF3A #3ABC6E
square
#3A47BC #BC3A88 #BCAF3A #3ABC6E
split-complementary
#3A47BC #BC6E3A #88BC3A
monochromatic
#1D245E #2C358D #3A47BC #646FCF #939ADE

Accessibility & contrast

On white

7.48
#3A47BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3A47BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47BC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47BC#FFFFFF#000000##FFFFFF
##3A47BC1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a47bc;
/* rgb */ color: rgb(58, 71, 188);
/* oklch */ color: oklch(46.2% 0.182 272.2);
Tailwind
colors: {
  custom: {
    50: '#817ad1',
    500: '#3a47bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a47bc;
$custom-light: #817ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47bc",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 234,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46217,
    "c": 0.18228,
    "h": 272.2
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#3A47BC
secondary
#C9C289
accent
#CE4CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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