#3B47B2#3B47B2

#3B47B2 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.169 H 272.8°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3B47B2
RGBrgb(59, 71, 178)
HSLhsl(234, 50%, 46%)
HSVhsv(234, 67%, 70%)
CMYKcmyk(66.9%, 60.1%, 0%, 30.2%)
CIE-LABlab(35.30, 30.34, -58.45)
CIE-LCHlch(35.30, 65.85, 297.43°)
OKLaboklab(45.42% 0.0083 -0.1684)
OKLCHoklch(45.42% 0.169 272.8)
XYZxyz(12.0901, 8.6495, 43.1432)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B47B2 #B2A63B
analogous
#3B83B2 #3B47B2 #6B3BB2
triadic
#3B47B2 #B23B47 #47B23B
tetradic
#3B47B2 #B23B83 #B2A63B #3BB26B
square
#3B47B2 #B23B83 #B2A63B #3BB26B
split-complementary
#3B47B2 #B26B3B #83B23B
monochromatic
#1D2256 #2C3584 #3B47B2 #606BCA #8E96DA

Accessibility & contrast

On white

7.69
#3B47B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3B47B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B47B2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B47B2#FFFFFF#000000##FFFFFF
##3B47B21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3b47b2;
/* rgb */ color: rgb(59, 71, 178);
/* oklch */ color: oklch(45.4% 0.169 272.8);
Tailwind
colors: {
  custom: {
    50: '#7f7aca',
    500: '#3b47b2',
    950: '#000000',
  },
}
SCSS
$custom: #3b47b2;
$custom-light: #7f7aca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b47b2",
  "rgb": {
    "r": 59,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 233.95,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45424,
    "c": 0.16861,
    "h": 272.8
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#3B47B2
secondary
#C4BE85
accent
#CC4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3B47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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