#3B5CC6#3B5CC6

#3B5CC6 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.170 H 267.1°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#3B5CC6
RGBrgb(59, 92, 198)
HSLhsl(226, 55%, 50%)
HSVhsv(226, 70%, 78%)
CMYKcmyk(70.2%, 53.5%, 0%, 22.4%)
CIE-LABlab(42.25, 23.98, -58.88)
CIE-LCHlch(42.25, 63.58, 292.16°)
OKLaboklab(51.09% -0.0085 -0.1694)
OKLCHoklch(51.09% 0.17 267.1)
XYZxyz(15.8203, 12.6597, 55.0250)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5CC6 #C6A53B
analogous
#3BA2C6 #3B5CC6 #5F3BC6
triadic
#3B5CC6 #C63B5C #5CC63B
tetradic
#3B5CC6 #C63BA2 #C6A53B #3BC65F
square
#3B5CC6 #C63BA2 #C6A53B #3BC65F
split-complementary
#3B5CC6 #C65F3B #A2C63B
monochromatic
#1E3068 #2C4698 #3B5CC6 #6A83D4 #9AABE2

Accessibility & contrast

On white

5.95
#3B5CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3B5CC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5CC6
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5CC6#FFFFFF#000000##FFFFFF
##3B5CC61.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6ACA
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3b5cc6;
/* rgb */ color: rgb(59, 92, 198);
/* oklch */ color: oklch(51.1% 0.170 267.1);
Tailwind
colors: {
  custom: {
    50: '#8289d8',
    500: '#3b5cc6',
    950: '#000000',
  },
}
SCSS
$custom: #3b5cc6;
$custom-light: #8289d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5cc6",
  "rgb": {
    "r": 59,
    "g": 92,
    "b": 198
  },
  "hsl": {
    "h": 225.755,
    "s": 54.941,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51093,
    "c": 0.16961,
    "h": 267.1
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#3B5CC6
secondary
#CDBF8F
accent
#BB4ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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