#3B5BC2#3B5BC2

#3B5BC2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.165 H 267.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#3B5BC2
RGBrgb(59, 91, 194)
HSLhsl(226, 53%, 50%)
HSVhsv(226, 70%, 76%)
CMYKcmyk(69.6%, 53.1%, 0%, 23.9%)
CIE-LABlab(41.70, 23.17, -57.45)
CIE-LCHlch(41.70, 61.95, 291.96°)
OKLaboklab(50.59% -0.008 -0.1652)
OKLCHoklch(50.59% 0.165 267.2)
XYZxyz(15.2789, 12.3055, 52.5985)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5BC2 #C2A23B
analogous
#3B9FC2 #3B5BC2 #5F3BC2
triadic
#3B5BC2 #C23B5B #5BC23B
tetradic
#3B5BC2 #C23B9F #C2A23B #3BC25F
square
#3B5BC2 #C23B9F #C2A23B #3BC25F
split-complementary
#3B5BC2 #C25F3B #9FC23B
monochromatic
#1E2F64 #2D4593 #3B5BC2 #6982D1 #98A9E0

Accessibility & contrast

On white

6.07
#3B5BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3B5BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5BC2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5BC2#FFFFFF#000000##FFFFFF
##3B5BC21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1269C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3b5bc2;
/* rgb */ color: rgb(59, 91, 194);
/* oklch */ color: oklch(50.6% 0.165 267.2);
Tailwind
colors: {
  custom: {
    50: '#8188d5',
    500: '#3b5bc2',
    950: '#000000',
  },
}
SCSS
$custom: #3b5bc2;
$custom-light: #8188d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5bc2",
  "rgb": {
    "r": 59,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 225.778,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50589,
    "c": 0.16539,
    "h": 267.2
  },
  "luminance": 0.12307
}

Semantic roles & 50–950 ramp

primary
#3B5BC2
secondary
#CBBD8E
accent
#BA4BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3B5BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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