#3B5BD2#3B5BD2

#3B5BD2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.187 H 267.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3B5BD2
RGBrgb(59, 91, 210)
HSLhsl(227, 63%, 53%)
HSVhsv(227, 72%, 82%)
CMYKcmyk(71.9%, 56.7%, 0%, 17.6%)
CIE-LABlab(42.86, 28.97, -64.80)
CIE-LCHlch(42.86, 70.98, 294.09°)
OKLaboklab(51.83% -0.0071 -0.1868)
OKLCHoklch(51.83% 0.187 267.8)
XYZxyz(17.1735, 13.0633, 62.5767)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5BD2 #D2B23B
analogous
#3BA6D2 #3B5BD2 #673BD2
triadic
#3B5BD2 #D23B5B #5BD23B
tetradic
#3B5BD2 #D23BA6 #D2B23B #3BD267
square
#3B5BD2 #D23BA6 #D2B23B #3BD267
split-complementary
#3B5BD2 #D2673B #A6D23B
monochromatic
#1B2F77 #2742A9 #3B5BD2 #6D85DD #9FAEE9

Accessibility & contrast

On white

5.81
#3B5BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3B5BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B5BD2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5BD2#FFFFFF#000000##FFFFFF
##3B5BD21.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b5bd2;
/* rgb */ color: rgb(59, 91, 210);
/* oklch */ color: oklch(51.8% 0.187 267.8);
Tailwind
colors: {
  custom: {
    50: '#8489e1',
    500: '#3b5bd2',
    950: '#000000',
  },
}
SCSS
$custom: #3b5bd2;
$custom-light: #8489e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5bd2",
  "rgb": {
    "r": 59,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 227.285,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51829,
    "c": 0.18696,
    "h": 267.8
  },
  "luminance": 0.13065
}

Semantic roles & 50–950 ramp

primary
#3B5BD2
secondary
#D5C794
accent
#C342E6
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3B5BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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