#3B7BD6#3B7BD6

#3B7BD6 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.7% C 0.154 H 257.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3B7BD6
RGBrgb(59, 123, 214)
HSLhsl(215, 65%, 54%)
HSVhsv(215, 72%, 84%)
CMYKcmyk(72.4%, 42.5%, 0%, 16.1%)
CIE-LABlab(51.78, 10.22, -52.70)
CIE-LCHlch(51.78, 53.68, 280.97°)
OKLaboklab(58.72% -0.033 -0.1507)
OKLCHoklch(58.72% 0.154 257.6)
XYZxyz(21.0198, 19.9485, 66.3479)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7BD6 #D6963B
analogous
#3BC8D6 #3B7BD6 #483BD6
triadic
#3B7BD6 #D63B7B #7BD63B
tetradic
#3B7BD6 #D63BC8 #D6963B #3BD648
square
#3B7BD6 #D63BC8 #D6963B #3BD648
split-complementary
#3B7BD6 #D6483B #C8D63B
monochromatic
#1A437D #255EAF #3B7BD6 #6E9DE1 #A0BFEB

Accessibility & contrast

On white

4.21
#3B7BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#3B7BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B7BD6
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7BD6#FFFFFF#000000##000000
##3B7BD61.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F83DA
Deuteranopia (green-blind)
#3375D4
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3b7bd6;
/* rgb */ color: rgb(59, 123, 214);
/* oklch */ color: oklch(58.7% 0.154 257.6);
Tailwind
colors: {
  custom: {
    50: '#84a0e3',
    500: '#3b7bd6',
    950: '#000000',
  },
}
SCSS
$custom: #3b7bd6;
$custom-light: #84a0e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7bd6",
  "rgb": {
    "r": 59,
    "g": 123,
    "b": 214
  },
  "hsl": {
    "h": 215.226,
    "s": 65.401,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58718,
    "c": 0.15427,
    "h": 257.6
  },
  "luminance": 0.19951
}

Semantic roles & 50–950 ramp

primary
#3B7BD6
secondary
#D8BC95
accent
#A33FE8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3B7BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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