#3B56C8#3B56C8

#3B56C8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.180 H 268.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#3B56C8
RGBrgb(59, 86, 200)
HSLhsl(229, 56%, 51%)
HSVhsv(229, 71%, 78%)
CMYKcmyk(70.5%, 57%, 0%, 21.6%)
CIE-LABlab(40.82, 28.56, -62.35)
CIE-LCHlch(40.82, 68.58, 294.61°)
OKLaboklab(50.07% -0.0036 -0.1797)
OKLCHoklch(50.07% 0.18 268.9)
XYZxyz(15.5532, 11.7539, 56.0815)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B56C8 #C8AD3B
analogous
#3B9CC8 #3B56C8 #673BC8
triadic
#3B56C8 #C83B56 #56C83B
tetradic
#3B56C8 #C83B9C #C8AD3B #3BC867
square
#3B56C8 #C83B9C #C8AD3B #3BC867
split-complementary
#3B56C8 #C8673B #9CC83B
monochromatic
#1E2D6B #2B419A #3B56C8 #6B7FD5 #9BA8E3

Accessibility & contrast

On white

6.27
#3B56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#3B56C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B56C8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B56C8#FFFFFF#000000##FFFFFF
##3B56C81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3b56c8;
/* rgb */ color: rgb(59, 86, 200);
/* oklch */ color: oklch(50.1% 0.180 268.9);
Tailwind
colors: {
  custom: {
    50: '#8385da',
    500: '#3b56c8',
    950: '#000000',
  },
}
SCSS
$custom: #3b56c8;
$custom-light: #8385da;
$custom-dark: #000000;
JSON
{
  "hex": "#3b56c8",
  "rgb": {
    "r": 59,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 228.511,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50069,
    "c": 0.17972,
    "h": 268.9
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#3B56C8
secondary
#CFC390
accent
#C348DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B56C8

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

Preview Lab → · Contrast checker → · Palette generator →

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