#3B5CC2#3B5CC2

#3B5CC2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.8% C 0.164 H 266.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#3B5CC2
RGBrgb(59, 92, 194)
HSLhsl(225, 53%, 50%)
HSVhsv(225, 70%, 76%)
CMYKcmyk(69.6%, 52.6%, 0%, 23.9%)
CIE-LABlab(41.97, 22.52, -57.02)
CIE-LCHlch(41.97, 61.30, 291.56°)
OKLaboklab(50.79% -0.0089 -0.1639)
OKLCHoklch(50.79% 0.164 266.9)
XYZxyz(15.3650, 12.4776, 52.6271)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5CC2 #C2A13B
analogous
#3BA0C2 #3B5CC2 #5D3BC2
triadic
#3B5CC2 #C23B5C #5CC23B
tetradic
#3B5CC2 #C23BA0 #C2A13B #3BC25D
square
#3B5CC2 #C23BA0 #C2A13B #3BC25D
split-complementary
#3B5CC2 #C25D3B #A0C23B
monochromatic
#1E2F64 #2D4693 #3B5CC2 #6982D1 #98A9E0

Accessibility & contrast

On white

6.01
#3B5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#3B5CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5CC2
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5CC2#FFFFFF#000000##FFFFFF
##3B5CC21.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1769C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3b5cc2;
/* rgb */ color: rgb(59, 92, 194);
/* oklch */ color: oklch(50.8% 0.164 266.9);
Tailwind
colors: {
  custom: {
    50: '#8189d5',
    500: '#3b5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #3b5cc2;
$custom-light: #8189d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5cc2",
  "rgb": {
    "r": 59,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 225.333,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.16415,
    "h": 266.9
  },
  "luminance": 0.12479
}

Semantic roles & 50–950 ramp

primary
#3B5CC2
secondary
#CBBC8E
accent
#B94BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3B5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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