#3B59C5#3B59C5

#3B59C5 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.172 H 268.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#3B59C5
RGBrgb(59, 89, 197)
HSLhsl(227, 54%, 50%)
HSVhsv(227, 70%, 77%)
CMYKcmyk(70.1%, 54.8%, 0%, 22.7%)
CIE-LABlab(41.38, 25.55, -59.70)
CIE-LCHlch(41.38, 64.94, 293.17°)
OKLaboklab(50.42% -0.0061 -0.1719)
OKLCHoklch(50.42% 0.172 268)
XYZxyz(15.4506, 12.1042, 54.3346)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B59C5 #C5A73B
analogous
#3B9EC5 #3B59C5 #623BC5
triadic
#3B59C5 #C53B59 #59C53B
tetradic
#3B59C5 #C53B9E #C5A73B #3BC562
square
#3B59C5 #C53B9E #C5A73B #3BC562
split-complementary
#3B59C5 #C5623B #9EC53B
monochromatic
#1F2E67 #2C4396 #3B59C5 #6A81D3 #99A9E1

Accessibility & contrast

On white

6.14
#3B59C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#3B59C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B59C5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B59C5#FFFFFF#000000##FFFFFF
##3B59C51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3b59c5;
/* rgb */ color: rgb(59, 89, 197);
/* oklch */ color: oklch(50.4% 0.172 268.0);
Tailwind
colors: {
  custom: {
    50: '#8287d7',
    500: '#3b59c5',
    950: '#000000',
  },
}
SCSS
$custom: #3b59c5;
$custom-light: #8287d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b59c5",
  "rgb": {
    "r": 59,
    "g": 89,
    "b": 197
  },
  "hsl": {
    "h": 226.957,
    "s": 54.331,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50419,
    "c": 0.17197,
    "h": 268
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#3B59C5
secondary
#CDBF8F
accent
#BE4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3B59C5

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

Preview Lab → · Contrast checker → · Palette generator →

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