#3B5BD1#3B5BD1

#3B5BD1 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.7% C 0.186 H 267.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3B5BD1
RGBrgb(59, 91, 209)
HSLhsl(227, 62%, 53%)
HSVhsv(227, 72%, 82%)
CMYKcmyk(71.8%, 56.5%, 0%, 18%)
CIE-LABlab(42.78, 28.61, -64.35)
CIE-LCHlch(42.78, 70.42, 293.97°)
OKLaboklab(51.75% -0.0071 -0.1855)
OKLCHoklch(51.75% 0.186 267.8)
XYZxyz(17.0494, 13.0137, 61.9226)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5BD1 #D1B13B
analogous
#3BA6D1 #3B5BD1 #663BD1
triadic
#3B5BD1 #D13B5B #5BD13B
tetradic
#3B5BD1 #D13BA6 #D1B13B #3BD166
square
#3B5BD1 #D13BA6 #D1B13B #3BD166
split-complementary
#3B5BD1 #D1663B #A6D13B
monochromatic
#1C2F76 #2743A7 #3B5BD1 #6D84DD #9EAEE8

Accessibility & contrast

On white

5.83
#3B5BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3B5BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5BD1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5BD1#FFFFFF#000000##FFFFFF
##3B5BD11.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3b5bd1;
/* rgb */ color: rgb(59, 91, 209);
/* oklch */ color: oklch(51.7% 0.186 267.8);
Tailwind
colors: {
  custom: {
    50: '#8489e0',
    500: '#3b5bd1',
    950: '#000000',
  },
}
SCSS
$custom: #3b5bd1;
$custom-light: #8489e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5bd1",
  "rgb": {
    "r": 59,
    "g": 91,
    "b": 209
  },
  "hsl": {
    "h": 227.2,
    "s": 61.983,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5175,
    "c": 0.18564,
    "h": 267.8
  },
  "luminance": 0.13015
}

Semantic roles & 50–950 ramp

primary
#3B5BD1
secondary
#D4C793
accent
#C243E5
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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