#3B56CA#3B56CA

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

Color values

HEX#3B56CA
RGBrgb(59, 86, 202)
HSLhsl(229, 57%, 51%)
HSVhsv(229, 71%, 79%)
CMYKcmyk(70.8%, 57.4%, 0%, 20.8%)
CIE-LABlab(40.97, 29.28, -63.26)
CIE-LCHlch(40.97, 69.71, 294.84°)
OKLaboklab(50.23% -0.0035 -0.1824)
OKLCHoklch(50.23% 0.182 268.9)
XYZxyz(15.7884, 11.8480, 57.3205)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B56CA #CAAF3B
analogous
#3B9DCA #3B56CA #673BCA
triadic
#3B56CA #CA3B56 #56CA3B
tetradic
#3B56CA #CA3B9D #CAAF3B #3BCA67
square
#3B56CA #CA3B9D #CAAF3B #3BCA67
split-complementary
#3B56CA #CA673B #9DCA3B
monochromatic
#1E2D6D #2B409D #3B56CA #6B80D7 #9BA9E4

Accessibility & contrast

On white

6.23
#3B56CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3B56CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B56CA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B56CA#FFFFFF#000000##FFFFFF
##3B56CA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3b56ca;
/* rgb */ color: rgb(59, 86, 202);
/* oklch */ color: oklch(50.2% 0.182 268.9);
Tailwind
colors: {
  custom: {
    50: '#8385db',
    500: '#3b56ca',
    950: '#000000',
  },
}
SCSS
$custom: #3b56ca;
$custom-light: #8385db;
$custom-dark: #000000;
JSON
{
  "hex": "#3b56ca",
  "rgb": {
    "r": 59,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 228.671,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5023,
    "c": 0.18239,
    "h": 268.9
  },
  "luminance": 0.1185
}

Semantic roles & 50–950 ramp

primary
#3B56CA
secondary
#D0C491
accent
#C447E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B56CA

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

Preview Lab → · Contrast checker → · Palette generator →

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