#3B56BC#3B56BC

#3B56BC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.1% C 0.163 H 268.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#3B56BC
RGBrgb(59, 86, 188)
HSLhsl(227, 52%, 48%)
HSVhsv(227, 69%, 74%)
CMYKcmyk(68.6%, 54.3%, 0%, 26.3%)
CIE-LABlab(39.94, 24.22, -56.80)
CIE-LCHlch(39.94, 61.75, 293.10°)
OKLaboklab(49.13% -0.0042 -0.1634)
OKLCHoklch(49.13% 0.163 268.5)
XYZxyz(14.2054, 11.2148, 48.9833)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B56BC #BCA13B
analogous
#3B96BC #3B56BC #603BBC
triadic
#3B56BC #BC3B56 #56BC3B
tetradic
#3B56BC #BC3B96 #BCA13B #3BBC60
square
#3B56BC #BC3B96 #BCA13B #3BBC60
split-complementary
#3B56BC #BC603B #96BC3B
monochromatic
#1E2B5F #2C418D #3B56BC #657BCF #94A3DD

Accessibility & contrast

On white

6.48
#3B56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3B56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B56BC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B56BC#FFFFFF#000000##FFFFFF
##3B56BC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564C0
Deuteranopia (green-blind)
#0058BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3b56bc;
/* rgb */ color: rgb(59, 86, 188);
/* oklch */ color: oklch(49.1% 0.163 268.5);
Tailwind
colors: {
  custom: {
    50: '#8085d1',
    500: '#3b56bc',
    950: '#000000',
  },
}
SCSS
$custom: #3b56bc;
$custom-light: #8085d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b56bc",
  "rgb": {
    "r": 59,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 227.442,
    "s": 52.227,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49128,
    "c": 0.16341,
    "h": 268.5
  },
  "luminance": 0.11216
}

Semantic roles & 50–950 ramp

primary
#3B56BC
secondary
#C9BC8A
accent
#BE4CDC
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3B56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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