#3B46BA#3B46BA

#3B46BA is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.181 H 272.8°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#3B46BA
RGBrgb(59, 70, 186)
HSLhsl(235, 52%, 48%)
HSVhsv(235, 68%, 73%)
CMYKcmyk(68.3%, 62.4%, 0%, 27.1%)
CIE-LABlab(35.70, 33.79, -62.52)
CIE-LCHlch(35.70, 71.07, 298.39°)
OKLaboklab(45.92% 0.0089 -0.1804)
OKLCHoklch(45.92% 0.181 272.8)
XYZxyz(12.8537, 8.8541, 47.4765)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B46BA #BAAF3B
analogous
#3B85BA #3B46BA #6F3BBA
triadic
#3B46BA #BA3B46 #46BA3B
tetradic
#3B46BA #BA3B85 #BAAF3B #3BBA6F
square
#3B46BA #BA3B85 #BAAF3B #3BBA6F
split-complementary
#3B46BA #BA6F3B #85BA3B
monochromatic
#1E235D #2C358C #3B46BA #646DCE #9399DD

Accessibility & contrast

On white

7.58
#3B46BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3B46BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B46BA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B46BA#FFFFFF#000000##FFFFFF
##3B46BA1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3b46ba;
/* rgb */ color: rgb(59, 70, 186);
/* oklch */ color: oklch(45.9% 0.181 272.8);
Tailwind
colors: {
  custom: {
    50: '#8179d0',
    500: '#3b46ba',
    950: '#000000',
  },
}
SCSS
$custom: #3b46ba;
$custom-light: #8179d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b46ba",
  "rgb": {
    "r": 59,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 234.803,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45923,
    "c": 0.18058,
    "h": 272.8
  },
  "luminance": 0.08855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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