#3B56CB#3B56CB

#3B56CB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.184 H 268.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#3B56CB
RGBrgb(59, 86, 203)
HSLhsl(229, 58%, 51%)
HSVhsv(229, 71%, 80%)
CMYKcmyk(70.9%, 57.6%, 0%, 20.4%)
CIE-LABlab(41.05, 29.64, -63.71)
CIE-LCHlch(41.05, 70.27, 294.95°)
OKLaboklab(50.31% -0.0035 -0.1837)
OKLCHoklch(50.31% 0.184 268.9)
XYZxyz(15.9072, 11.8956, 57.9461)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B56CB #CBB03B
analogous
#3B9ECB #3B56CB #683BCB
triadic
#3B56CB #CB3B56 #56CB3B
tetradic
#3B56CB #CB3B9E #CBB03B #3BCB68
square
#3B56CB #CB3B9E #CBB03B #3BCB68
split-complementary
#3B56CB #CB683B #9ECB3B
monochromatic
#1D2C6E #2A409F #3B56CB #6B80D8 #9CA9E5

Accessibility & contrast

On white

6.21
#3B56CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3B56CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B56CB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B56CB#FFFFFF#000000##FFFFFF
##3B56CB1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3b56cb;
/* rgb */ color: rgb(59, 86, 203);
/* oklch */ color: oklch(50.3% 0.184 268.9);
Tailwind
colors: {
  custom: {
    50: '#8385dc',
    500: '#3b56cb',
    950: '#000000',
  },
}
SCSS
$custom: #3b56cb;
$custom-light: #8385dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b56cb",
  "rgb": {
    "r": 59,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 228.75,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5031,
    "c": 0.18373,
    "h": 268.9
  },
  "luminance": 0.11897
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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