#3B56DC#3B56DC

#3B56DC is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 51.7% C 0.206 H 269.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3B56DC
RGBrgb(59, 86, 220)
HSLhsl(230, 70%, 55%)
HSVhsv(230, 73%, 86%)
CMYKcmyk(73.2%, 60.9%, 0%, 13.7%)
CIE-LABlab(42.39, 35.71, -71.29)
CIE-LCHlch(42.39, 79.74, 296.61°)
OKLaboklab(51.72% -0.0034 -0.2059)
OKLCHoklch(51.72% 0.206 269.1)
XYZxyz(18.0452, 12.7508, 69.2064)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B56DC #DCC13B
analogous
#3BA6DC #3B56DC #713BDC
triadic
#3B56DC #DC3B56 #56DC3B
tetradic
#3B56DC #DC3BA6 #DCC13B #3BDC71
square
#3B56DC #DC3BA6 #DCC13B #3BDC71
split-complementary
#3B56DC #DC713B #A6DC3B
monochromatic
#182A85 #213AB9 #3B56DC #6F83E5 #A3B0EF

Accessibility & contrast

On white

5.91
#3B56DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3B56DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B56DC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B56DC#FFFFFF#000000##FFFFFF
##3B56DC1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3b56dc;
/* rgb */ color: rgb(59, 86, 220);
/* oklch */ color: oklch(51.7% 0.206 269.1);
Tailwind
colors: {
  custom: {
    50: '#8785e8',
    500: '#3b56dc',
    950: '#000000',
  },
}
SCSS
$custom: #3b56dc;
$custom-light: #8785e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b56dc",
  "rgb": {
    "r": 59,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 229.938,
    "s": 69.697,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5172,
    "c": 0.20598,
    "h": 269.1
  },
  "luminance": 0.12753
}

Semantic roles & 50–950 ramp

primary
#3B56DC
secondary
#DBD097
accent
#CF3BED
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #3B56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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