#3B56CD#3B56CD

#3B56CD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.186 H 268.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#3B56CD
RGBrgb(59, 86, 205)
HSLhsl(229, 59%, 52%)
HSVhsv(229, 71%, 80%)
CMYKcmyk(71.2%, 58%, 0%, 19.6%)
CIE-LABlab(41.20, 30.36, -64.62)
CIE-LCHlch(41.20, 71.40, 295.16°)
OKLaboklab(50.47% -0.0034 -0.1864)
OKLCHoklch(50.47% 0.186 268.9)
XYZxyz(16.1471, 11.9915, 59.2094)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B56CD #CDB23B
analogous
#3B9FCD #3B56CD #693BCD
triadic
#3B56CD #CD3B56 #56CD3B
tetradic
#3B56CD #CD3B9F #CDB23B #3BCD69
square
#3B56CD #CD3B9F #CDB23B #3BCD69
split-complementary
#3B56CD #CD693B #9FCD3B
monochromatic
#1D2C71 #293FA2 #3B56CD #6C80D9 #9DAAE6

Accessibility & contrast

On white

6.18
#3B56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#3B56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B56CD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B56CD#FFFFFF#000000##FFFFFF
##3B56CD1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3b56cd;
/* rgb */ color: rgb(59, 86, 205);
/* oklch */ color: oklch(50.5% 0.186 268.9);
Tailwind
colors: {
  custom: {
    50: '#8485dd',
    500: '#3b56cd',
    950: '#000000',
  },
}
SCSS
$custom: #3b56cd;
$custom-light: #8485dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b56cd",
  "rgb": {
    "r": 59,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 228.904,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50472,
    "c": 0.18639,
    "h": 268.9
  },
  "luminance": 0.11993
}

Semantic roles & 50–950 ramp

primary
#3B56CD
secondary
#D2C692
accent
#C545E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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