#3B56C3#3B56C3

#3B56C3 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.173 H 268.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#3B56C3
RGBrgb(59, 86, 195)
HSLhsl(228, 54%, 50%)
HSVhsv(228, 70%, 76%)
CMYKcmyk(69.7%, 55.9%, 0%, 23.5%)
CIE-LABlab(40.45, 26.76, -60.05)
CIE-LCHlch(40.45, 65.74, 294.01°)
OKLaboklab(49.67% -0.0038 -0.1729)
OKLCHoklch(49.67% 0.173 268.8)
XYZxyz(14.9784, 11.5240, 53.0542)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B56C3 #C3A83B
analogous
#3B9AC3 #3B56C3 #643BC3
triadic
#3B56C3 #C33B56 #56C33B
tetradic
#3B56C3 #C33B9A #C3A83B #3BC364
square
#3B56C3 #C33B9A #C3A83B #3BC364
split-complementary
#3B56C3 #C3643B #9AC33B
monochromatic
#1F2D65 #2D4194 #3B56C3 #697ED2 #98A7E0

Accessibility & contrast

On white

6.35
#3B56C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#3B56C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B56C3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B56C3#FFFFFF#000000##FFFFFF
##3B56C31.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C7
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3b56c3;
/* rgb */ color: rgb(59, 86, 195);
/* oklch */ color: oklch(49.7% 0.173 268.8);
Tailwind
colors: {
  custom: {
    50: '#8285d6',
    500: '#3b56c3',
    950: '#000000',
  },
}
SCSS
$custom: #3b56c3;
$custom-light: #8285d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b56c3",
  "rgb": {
    "r": 59,
    "g": 86,
    "b": 195
  },
  "hsl": {
    "h": 228.088,
    "s": 53.543,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.17297,
    "h": 268.8
  },
  "luminance": 0.11526
}

Semantic roles & 50–950 ramp

primary
#3B56C3
secondary
#CCBF8E
accent
#C04BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3B56C3

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

Preview Lab → · Contrast checker → · Palette generator →

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