#3E5B87#3E5B87

#3E5B87 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 46.9% C 0.080 H 258.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3E5B87
RGBrgb(62, 91, 135)
HSLhsl(216, 37%, 39%)
HSVhsv(216, 54%, 53%)
CMYKcmyk(54.1%, 32.6%, 0%, 47.1%)
CIE-LABlab(38.30, 2.79, -27.81)
CIE-LCHlch(38.30, 27.95, 275.73°)
OKLaboklab(46.87% -0.0159 -0.0782)
OKLCHoklch(46.87% 0.08 258.5)
XYZxyz(10.0994, 10.2548, 24.3642)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5B87 #876A3E
analogous
#3E7F87 #3E5B87 #453E87
triadic
#3E5B87 #873E5B #5B873E
tetradic
#3E5B87 #873E7F #876A3E #3E8745
square
#3E5B87 #873E7F #876A3E #3E8745
split-complementary
#3E5B87 #87453E #7F873E
monochromatic
#172233 #2B3F5D #3E5B87 #5278B0 #7C98C3

Accessibility & contrast

On white

6.88
#3E5B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3E5B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5B87
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5B87#FFFFFF#000000##FFFFFF
##3E5B871.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5E89
Deuteranopia (green-blind)
#415786
Tritanopia (blue-blind)
#18656B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3e5b87;
/* rgb */ color: rgb(62, 91, 135);
/* oklch */ color: oklch(46.9% 0.080 258.5);
Tailwind
colors: {
  custom: {
    50: '#7889aa',
    500: '#3e5b87',
    950: '#000000',
  },
}
SCSS
$custom: #3e5b87;
$custom-light: #7889aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5b87",
  "rgb": {
    "r": 62,
    "g": 91,
    "b": 135
  },
  "hsl": {
    "h": 216.164,
    "s": 37.056,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46872,
    "c": 0.07985,
    "h": 258.5
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

primary
#3E5B87
secondary
#AD9674
accent
#A05BCD
background
#F7F8FA
surface
#EEF0F4
border
#C9CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #3E5B87

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

Preview Lab → · Contrast checker → · Palette generator →

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