#3B47C5#3B47C5

#3B47C5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.1% C 0.194 H 272.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#3B47C5
RGBrgb(59, 71, 197)
HSLhsl(235, 54%, 50%)
HSVhsv(235, 70%, 77%)
CMYKcmyk(70.1%, 64%, 0%, 22.7%)
CIE-LABlab(36.87, 37.01, -67.06)
CIE-LCHlch(36.87, 76.59, 298.89°)
OKLaboklab(47.06% 0.0076 -0.1937)
OKLCHoklch(47.06% 0.194 272.3)
XYZxyz(14.1315, 9.4661, 53.8949)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B47C5 #C5B93B
analogous
#3B8CC5 #3B47C5 #743BC5
triadic
#3B47C5 #C53B47 #47C53B
tetradic
#3B47C5 #C53B8C #C5B93B #3BC574
square
#3B47C5 #C53B8C #C5B93B #3BC574
split-complementary
#3B47C5 #C5743B #8CC53B
monochromatic
#1F2567 #2C3696 #3B47C5 #6A73D3 #99A0E1

Accessibility & contrast

On white

7.26
#3B47C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3B47C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B47C5
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B47C5#FFFFFF#000000##FFFFFF
##3B47C51.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0050C3
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3b47c5;
/* rgb */ color: rgb(59, 71, 197);
/* oklch */ color: oklch(47.1% 0.194 272.3);
Tailwind
colors: {
  custom: {
    50: '#837ad8',
    500: '#3b47c5',
    950: '#000000',
  },
}
SCSS
$custom: #3b47c5;
$custom-light: #837ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b47c5",
  "rgb": {
    "r": 59,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 234.783,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47064,
    "c": 0.19381,
    "h": 272.3
  },
  "luminance": 0.09468
}

Semantic roles & 50–950 ramp

primary
#3B47C5
secondary
#CDC78F
accent
#D14ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3B47C5

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

Preview Lab → · Contrast checker → · Palette generator →

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