#3A47BD#3A47BD

#3A47BD is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.3% C 0.184 H 272.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#3A47BD
RGBrgb(58, 71, 189)
HSLhsl(234, 53%, 48%)
HSVhsv(234, 69%, 74%)
CMYKcmyk(69.3%, 62.4%, 0%, 25.9%)
CIE-LABlab(36.14, 34.08, -63.58)
CIE-LCHlch(36.14, 72.13, 298.19°)
OKLaboklab(46.3% 0.007 -0.1835)
OKLCHoklch(46.3% 0.184 272.2)
XYZxyz(13.1804, 9.0789, 49.1920)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A47BD #BDB03A
analogous
#3A88BD #3A47BD #6E3ABD
triadic
#3A47BD #BD3A47 #47BD3A
tetradic
#3A47BD #BD3A88 #BDB03A #3ABD6E
square
#3A47BD #BD3A88 #BDB03A #3ABD6E
split-complementary
#3A47BD #BD6E3A #88BD3A
monochromatic
#1D245F #2C358E #3A47BD #656FD0 #939BDE

Accessibility & contrast

On white

7.46
#3A47BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3A47BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A47BD
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A47BD#FFFFFF#000000##FFFFFF
##3A47BD1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a47bd;
/* rgb */ color: rgb(58, 71, 189);
/* oklch */ color: oklch(46.3% 0.184 272.2);
Tailwind
colors: {
  custom: {
    50: '#817ad2',
    500: '#3a47bd',
    950: '#000000',
  },
}
SCSS
$custom: #3a47bd;
$custom-light: #817ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a47bd",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 234.046,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46304,
    "c": 0.1836,
    "h": 272.2
  },
  "luminance": 0.0908
}

Semantic roles & 50–950 ramp

primary
#3A47BD
secondary
#C9C38A
accent
#CE4BDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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