#3B46BB#3B46BB

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

Color values

HEX#3B46BB
RGBrgb(59, 70, 187)
HSLhsl(235, 52%, 48%)
HSVhsv(235, 68%, 73%)
CMYKcmyk(68.4%, 62.6%, 0%, 26.7%)
CIE-LABlab(35.78, 34.14, -62.97)
CIE-LCHlch(35.78, 71.63, 298.47°)
OKLaboklab(46.01% 0.0089 -0.1817)
OKLCHoklch(46.01% 0.182 272.8)
XYZxyz(12.9604, 8.8968, 48.0383)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B46BB #BBB03B
analogous
#3B86BB #3B46BB #703BBB
triadic
#3B46BB #BB3B46 #46BB3B
tetradic
#3B46BB #BB3B86 #BBB03B #3BBB70
square
#3B46BB #BB3B86 #BBB03B #3BBB70
split-complementary
#3B46BB #BB703B #86BB3B
monochromatic
#1E235E #2C358C #3B46BB #656ECE #939ADD

Accessibility & contrast

On white

7.56
#3B46BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3B46BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B46BB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B46BB#FFFFFF#000000##FFFFFF
##3B46BB1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3b46bb;
/* rgb */ color: rgb(59, 70, 187);
/* oklch */ color: oklch(46.0% 0.182 272.8);
Tailwind
colors: {
  custom: {
    50: '#8179d0',
    500: '#3b46bb',
    950: '#000000',
  },
}
SCSS
$custom: #3b46bb;
$custom-light: #8179d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b46bb",
  "rgb": {
    "r": 59,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 234.844,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46009,
    "c": 0.1819,
    "h": 272.8
  },
  "luminance": 0.08898
}

Semantic roles & 50–950 ramp

primary
#3B46BB
secondary
#C8C38A
accent
#CF4CDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3B46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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