#3B5987#3B5987

#3B5987 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.2% C 0.083 H 258.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3B5987
RGBrgb(59, 89, 135)
HSLhsl(216, 39%, 38%)
HSVhsv(216, 56%, 53%)
CMYKcmyk(56.3%, 34.1%, 0%, 47.1%)
CIE-LABlab(37.52, 3.34, -29.03)
CIE-LCHlch(37.52, 29.22, 276.56°)
OKLaboklab(46.22% -0.0164 -0.0819)
OKLCHoklch(46.22% 0.083 258.7)
XYZxyz(9.7477, 9.8231, 24.2993)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5987 #87693B
analogous
#3B7F87 #3B5987 #433B87
triadic
#3B5987 #873B59 #59873B
tetradic
#3B5987 #873B7F #87693B #3B8743
square
#3B5987 #873B7F #87693B #3B8743
split-complementary
#3B5987 #87433B #7F873B
monochromatic
#162132 #283D5C #3B5987 #4E75B2 #7896C4

Accessibility & contrast

On white

7.08
#3B5987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3B5987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5987
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5987#FFFFFF#000000##FFFFFF
##3B59871.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C89
Deuteranopia (green-blind)
#3D5586
Tritanopia (blue-blind)
#0D636A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3b5987;
/* rgb */ color: rgb(59, 89, 135);
/* oklch */ color: oklch(46.2% 0.083 258.7);
Tailwind
colors: {
  custom: {
    50: '#7787aa',
    500: '#3b5987',
    950: '#000000',
  },
}
SCSS
$custom: #3b5987;
$custom-light: #7787aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5987",
  "rgb": {
    "r": 59,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 216.316,
    "s": 39.175,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46224,
    "c": 0.08348,
    "h": 258.7
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#3B5987
secondary
#AE9570
accent
#A059CF
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3B5987

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

Preview Lab → · Contrast checker → · Palette generator →

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