#3B47D6#3B47D6

#3B47D6 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.6% C 0.215 H 271.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3B47D6
RGBrgb(59, 71, 214)
HSLhsl(235, 65%, 54%)
HSVhsv(235, 72%, 84%)
CMYKcmyk(72.4%, 66.8%, 0%, 16.1%)
CIE-LABlab(38.36, 42.87, -74.46)
CIE-LCHlch(38.36, 85.92, 299.93°)
OKLaboklab(48.61% 0.0063 -0.2153)
OKLCHoklch(48.61% 0.215 271.7)
XYZxyz(16.1904, 10.2897, 64.7381)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B47D6 #D6CA3B
analogous
#3B94D6 #3B47D6 #7C3BD6
triadic
#3B47D6 #D63B47 #47D63B
tetradic
#3B47D6 #D63B94 #D6CA3B #3BD67C
square
#3B47D6 #D63B94 #D6CA3B #3BD67C
split-complementary
#3B47D6 #D67C3B #94D63B
monochromatic
#1A227D #252FAF #3B47D6 #6E77E1 #A0A6EB

Accessibility & contrast

On white

6.87
#3B47D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3B47D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B47D6
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B47D6#FFFFFF#000000##FFFFFF
##3B47D61.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#0053D3
Tritanopia (blue-blind)
#006E88
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3b47d6;
/* rgb */ color: rgb(59, 71, 214);
/* oklch */ color: oklch(48.6% 0.215 271.7);
Tailwind
colors: {
  custom: {
    50: '#877be4',
    500: '#3b47d6',
    950: '#000000',
  },
}
SCSS
$custom: #3b47d6;
$custom-light: #877be4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b47d6",
  "rgb": {
    "r": 59,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 235.355,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48608,
    "c": 0.21541,
    "h": 271.7
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

primary
#3B47D6
secondary
#D8D295
accent
#DB3FE8
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3B47D6

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

Preview Lab → · Contrast checker → · Palette generator →

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