#3B47BA#3B47BA

#3B47BA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.179 H 272.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#3B47BA
RGBrgb(59, 71, 186)
HSLhsl(234, 52%, 48%)
HSVhsv(234, 68%, 73%)
CMYKcmyk(68.3%, 61.8%, 0%, 27.1%)
CIE-LABlab(35.95, 33.16, -62.12)
CIE-LCHlch(35.95, 70.42, 298.09°)
OKLaboklab(46.1% 0.0081 -0.1792)
OKLCHoklch(46.1% 0.179 272.6)
XYZxyz(12.9168, 8.9802, 47.4975)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B47BA #BAAE3B
analogous
#3B86BA #3B47BA #6F3BBA
triadic
#3B47BA #BA3B47 #47BA3B
tetradic
#3B47BA #BA3B86 #BAAE3B #3BBA6F
square
#3B47BA #BA3B86 #BAAE3B #3BBA6F
split-complementary
#3B47BA #BA6F3B #86BA3B
monochromatic
#1E245D #2C358C #3B47BA #646ECE #939ADD

Accessibility & contrast

On white

7.51
#3B47BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3B47BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B47BA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B47BA#FFFFFF#000000##FFFFFF
##3B47BA1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b47ba;
/* rgb */ color: rgb(59, 71, 186);
/* oklch */ color: oklch(46.1% 0.179 272.6);
Tailwind
colors: {
  custom: {
    50: '#817ad0',
    500: '#3b47ba',
    950: '#000000',
  },
}
SCSS
$custom: #3b47ba;
$custom-light: #817ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b47ba",
  "rgb": {
    "r": 59,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 234.331,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46103,
    "c": 0.17936,
    "h": 272.6
  },
  "luminance": 0.08981
}

Semantic roles & 50–950 ramp

primary
#3B47BA
secondary
#C8C289
accent
#CE4DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3B47BA

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

Preview Lab → · Contrast checker → · Palette generator →

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