#3B56BB#3B56BB

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

Color values

HEX#3B56BB
RGBrgb(59, 86, 187)
HSLhsl(227, 52%, 48%)
HSVhsv(227, 68%, 73%)
CMYKcmyk(68.4%, 54%, 0%, 26.7%)
CIE-LABlab(39.87, 23.86, -56.33)
CIE-LCHlch(39.87, 61.17, 292.96°)
OKLaboklab(49.05% -0.0042 -0.162)
OKLCHoklch(49.05% 0.162 268.5)
XYZxyz(14.0980, 11.1719, 48.4175)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B56BB #BBA03B
analogous
#3B96BB #3B56BB #603BBB
triadic
#3B56BB #BB3B56 #56BB3B
tetradic
#3B56BB #BB3B96 #BBA03B #3BBB60
square
#3B56BB #BB3B96 #BBA03B #3BBB60
split-complementary
#3B56BB #BB603B #96BB3B
monochromatic
#1E2B5E #2C418C #3B56BB #657BCE #93A3DD

Accessibility & contrast

On white

6.49
#3B56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#3B56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B56BB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B56BB#FFFFFF#000000##FFFFFF
##3B56BB1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3b56bb;
/* rgb */ color: rgb(59, 86, 187);
/* oklch */ color: oklch(49.1% 0.162 268.5);
Tailwind
colors: {
  custom: {
    50: '#8085d0',
    500: '#3b56bb',
    950: '#000000',
  },
}
SCSS
$custom: #3b56bb;
$custom-light: #8085d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b56bb",
  "rgb": {
    "r": 59,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 227.344,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49052,
    "c": 0.16204,
    "h": 268.5
  },
  "luminance": 0.11173
}

Semantic roles & 50–950 ramp

primary
#3B56BB
secondary
#C8BB8A
accent
#BD4CDB
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3B56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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