#3B56CC#3B56CC

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

Color values

HEX#3B56CC
RGBrgb(59, 86, 204)
HSLhsl(229, 59%, 52%)
HSVhsv(229, 71%, 80%)
CMYKcmyk(71.1%, 57.8%, 0%, 20%)
CIE-LABlab(41.13, 30.00, -64.17)
CIE-LCHlch(41.13, 70.83, 295.06°)
OKLaboklab(50.39% -0.0035 -0.185)
OKLCHoklch(50.39% 0.185 268.9)
XYZxyz(16.0268, 11.9434, 58.5757)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B56CC #CCB13B
analogous
#3B9ECC #3B56CC #693BCC
triadic
#3B56CC #CC3B56 #56CC3B
tetradic
#3B56CC #CC3B9E #CCB13B #3BCC69
square
#3B56CC #CC3B9E #CCB13B #3BCC69
split-complementary
#3B56CC #CC693B #9ECC3B
monochromatic
#1D2C70 #2A40A0 #3B56CC #6C80D9 #9CAAE5

Accessibility & contrast

On white

6.20
#3B56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3B56CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B56CC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B56CC#FFFFFF#000000##FFFFFF
##3B56CC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b56cc;
/* rgb */ color: rgb(59, 86, 204);
/* oklch */ color: oklch(50.4% 0.185 268.9);
Tailwind
colors: {
  custom: {
    50: '#8485dc',
    500: '#3b56cc',
    950: '#000000',
  },
}
SCSS
$custom: #3b56cc;
$custom-light: #8485dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b56cc",
  "rgb": {
    "r": 59,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 228.828,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50391,
    "c": 0.18506,
    "h": 268.9
  },
  "luminance": 0.11945
}

Semantic roles & 50–950 ramp

primary
#3B56CC
secondary
#D1C592
accent
#C546E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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