#3A47BA#3A47BA

#3A47BA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.180 H 272.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#3A47BA
RGBrgb(58, 71, 186)
HSLhsl(234, 52%, 48%)
HSVhsv(234, 69%, 73%)
CMYKcmyk(68.8%, 61.8%, 0%, 27.1%)
CIE-LABlab(35.89, 33.02, -62.22)
CIE-LCHlch(35.89, 70.44, 297.96°)
OKLaboklab(46.04% 0.0071 -0.1795)
OKLCHoklch(46.04% 0.18 272.3)
XYZxyz(12.8581, 8.9500, 47.4947)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47BA #BAAD3A
analogous
#3A87BA #3A47BA #6D3ABA
triadic
#3A47BA #BA3A47 #47BA3A
tetradic
#3A47BA #BA3A87 #BAAD3A #3ABA6D
square
#3A47BA #BA3A87 #BAAD3A #3ABA6D
split-complementary
#3A47BA #BA6D3A #87BA3A
monochromatic
#1D235D #2B358B #3A47BA #636ECE #9299DD

Accessibility & contrast

On white

7.53
#3A47BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3A47BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47BA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47BA#FFFFFF#000000##FFFFFF
##3A47BA1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a47ba;
/* rgb */ color: rgb(58, 71, 186);
/* oklch */ color: oklch(46.0% 0.180 272.3);
Tailwind
colors: {
  custom: {
    50: '#807ad0',
    500: '#3a47ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a47ba;
$custom-light: #807ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47ba",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 233.906,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46044,
    "c": 0.17963,
    "h": 272.3
  },
  "luminance": 0.08951
}

Semantic roles & 50–950 ramp

primary
#3A47BA
secondary
#C8C188
accent
#CD4CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3A47BA

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

Preview Lab → · Contrast checker → · Palette generator →

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