#3F5980#3F5980

#3F5980 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.1% C 0.071 H 258.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#3F5980
RGBrgb(63, 89, 128)
HSLhsl(216, 34%, 37%)
HSVhsv(216, 51%, 50%)
CMYKcmyk(50.8%, 30.5%, 0%, 49.8%)
CIE-LABlab(37.41, 1.98, -24.92)
CIE-LCHlch(37.41, 25.00, 274.54°)
OKLaboklab(46.08% -0.0145 -0.0699)
OKLCHoklch(46.08% 0.071 258.3)
XYZxyz(9.5173, 9.7594, 21.8001)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F5980 #80663F
analogous
#3F7980 #3F5980 #463F80
triadic
#3F5980 #803F59 #59803F
tetradic
#3F5980 #803F79 #80663F #3F8046
square
#3F5980 #803F79 #80663F #3F8046
split-complementary
#3F5980 #80463F #79803F
monochromatic
#17202E #2B3C57 #3F5980 #5376A9 #7B96BE

Accessibility & contrast

On white

7.11
#3F5980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3F5980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F5980
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F5980#FFFFFF#000000##FFFFFF
##3F59801.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B82
Deuteranopia (green-blind)
#42557F
Tritanopia (blue-blind)
#226267
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f5980;
/* rgb */ color: rgb(63, 89, 128);
/* oklch */ color: oklch(46.1% 0.071 258.3);
Tailwind
colors: {
  custom: {
    50: '#7887a5',
    500: '#3f5980',
    950: '#000000',
  },
}
SCSS
$custom: #3f5980;
$custom-light: #7887a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f5980",
  "rgb": {
    "r": 63,
    "g": 89,
    "b": 128
  },
  "hsl": {
    "h": 216,
    "s": 34.031,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46081,
    "c": 0.07137,
    "h": 258.3
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#3F5980
secondary
#A89372
accent
#9F5ECA
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B0F
muted
#7B7C7F

Preview Lab

Preview with #3F5980

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

Preview Lab → · Contrast checker → · Palette generator →

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