#3B5BC7#3B5BC7

#3B5BC7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.172 H 267.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#3B5BC7
RGBrgb(59, 91, 199)
HSLhsl(226, 56%, 51%)
HSVhsv(226, 70%, 78%)
CMYKcmyk(70.4%, 54.3%, 0%, 22%)
CIE-LABlab(42.05, 24.99, -59.77)
CIE-LCHlch(42.05, 64.79, 292.69°)
OKLaboklab(50.97% -0.0076 -0.172)
OKLCHoklch(50.97% 0.172 267.5)
XYZxyz(15.8499, 12.5339, 55.6057)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5BC7 #C7A73B
analogous
#3BA1C7 #3B5BC7 #613BC7
triadic
#3B5BC7 #C73B5B #5BC73B
tetradic
#3B5BC7 #C73BA1 #C7A73B #3BC761
square
#3B5BC7 #C73BA1 #C7A73B #3BC761
split-complementary
#3B5BC7 #C7613B #A1C73B
monochromatic
#1E2F69 #2C4599 #3B5BC7 #6B83D5 #9AABE2

Accessibility & contrast

On white

5.99
#3B5BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#3B5BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5BC7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5BC7#FFFFFF#000000##FFFFFF
##3B5BC71.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3b5bc7;
/* rgb */ color: rgb(59, 91, 199);
/* oklch */ color: oklch(51.0% 0.172 267.5);
Tailwind
colors: {
  custom: {
    50: '#8289d9',
    500: '#3b5bc7',
    950: '#000000',
  },
}
SCSS
$custom: #3b5bc7;
$custom-light: #8289d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5bc7",
  "rgb": {
    "r": 59,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 226.286,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50969,
    "c": 0.17221,
    "h": 267.5
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#3B5BC7
secondary
#CEC090
accent
#BD49DF
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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